Crate chunkedge_binary

Crate chunkedge_binary 

Source

Modules§

array
bit_set
byte_angle

Structs§

Bounded
A newtype wrapper for T which modifies the Encode and Decode impls to be bounded by some upper limit MAX. Implementations are expected to error eagerly if the limit is exceeded.
RawBytes
While encoding, the contained slice is written directly to the output without any length prefix or metadata.
TextComponent
VarInt
An i32 encoded with variable length.
VarLong
An i64 encoded with variable length.

Enums§

IDSet
Represents a set of IDs in a certain registry, either directly (enumerated IDs) or indirectly (tag name).
IdOr
VarIntDecodeError

Traits§

Decode
The Decode trait allows objects to be read from the Minecraft protocol. It is the inverse of Encode.
Encode
The Encode trait allows objects to be written to the Minecraft protocol. It is the inverse of Decode.
IntoTextComponent

Functions§

cautious_capacity
Prevents preallocating too much memory in case we get a malicious or invalid sequence length.

Derive Macros§

Decode
Encode