Trait nbt::NBTRead [−][src]
A trait supporting decoding of bytes into NBT/Tags.
This trait provides two functions:
read
for reading from a readable source or bufferfrom_bytes
for reading from a array of bytes
Required methods
Loading content...Provided methods
fn from_bytes<B: AsRef<[u8]>>(data: B) -> Result<Self, NBTError>
[src]
Function for reading from a byte array.