Skip to main content

Crate azalea_buf

Crate azalea_buf 

Source
Expand description

§azalea-buf

An implementation of Minecraft’s FriendlyByteBuf. This is used frequently in the game for serialization and deserialization of data.

Note that there are some minor implementation differences such as using unsigned integers in places where Minecraft uses signed integers. This doesn’t cause issues normally, but does technically make usage of azalea-buf detectable if a server really wants to since it won’t error in places where vanilla Minecraft would.

Re-exports§

pub use impls::*;

Modules§

impls

Macros§

debug_format_any

Structs§

Ctx
Some context that’s maintained when reading and writing packets.
UnsizedByteArray
A Vec<u8> that isn’t prefixed by a VarInt with the size.

Traits§

ResolverTrait
A marker trait for types that can be passed to Ctx.
SerializableUuid

Derive Macros§

AzBuf