McProtoNet.Primitives
Types: 8.
| Types | Description |
|---|---|
static class Extensions | Provides extension methods that read, write and measure Minecraft protocol VarInt values. |
struct IncomingPacket | Represents one packet read from the wire, with the id already parsed and the body already decompressed. |
struct MemoryOwner<T> | Represents a block of memory rented from ArrayPool<T>. |
ref struct MinecraftPrimitiveReader | Provides a forward-only reader for the primitive types of the Minecraft protocol. |
sealed class MinecraftPrimitiveWriter | Provides a forward-only writer for the primitive types of the Minecraft protocol, backed by an ArrayBufferWriter<T>. |
static class MinecraftPrimitiveWriterCache | Provides a thread-local cache of MinecraftPrimitiveWriter instances, so a send path does not allocate a writer and its buffer for every packet. |
struct OutgoingPacket | Represents a packet to be written to the wire, backed by a pooled buffer. |
sealed class PooledBlock | Represents an array rented from an ArrayPool<T> and shared through a reference count. |