Module bin

Source
Available on crate feature nbt only.
Expand description

Module for reading and writing binary NBT streams, can be used for files and packets.

Modules§

de
ser

Functions§

from_reader
Takes in a Read implementation R and deserializes it as binary to a serde::Deserialize implementation D using endianness E.
to_writer
Takes in a Write implementation W and a serde::Serialize implementation S and writes it as binary in endianness E.