Skip to main content

nbt_profile

Macro nbt_profile 

Source
macro_rules! nbt_profile {
    ($ty:ty, net) => { ... };
    ($ty:ty, le) => { ... };
    ($ty:ty, be) => { ... };
}
Expand description

Declare a codec profile for a type.

net => NetworkLittleEndian, le => LittleEndian, be => BigEndian.