[−][src]Module ozelot::read
Functions for deserializing datatypes used by the protocol
Functions
read_String | Read a length-prefixed utf-8 String from the Reader |
read_bool | Read a single bool from the Reader |
read_bytearray | Alias for read_bytearray_to_end |
read_bytearray_to_end | Read a bytearray to the end of the reader |
read_f32 | Read a single f32 from the Reader |
read_f64 | Read a single f64 from the Reader |
read_i8 | Read a single i8 from the Reader |
read_i16 | Read a single i16 from the Reader |
read_i32 | Read a single i32 from the Reader |
read_i64 | Read a single i64 from the Reader |
read_position | Read a position as described on wiki.vg, i.e. x/y/z given as an u64 |
read_prefixed_bytearray | Read length-prefixed bytearray where the length is given as a varint |
read_prefixed_varintarray | Read length-prefixed varint array where the length is given as a varint |
read_u8 | Read a single u8 from the Reader |
read_u16 | Read a single u16 from the Reader |
read_u64 | Read a single u64 from the Reader |
read_u128 | Read a single u128 from the Reader |
read_uuid_str | Read a uuid encoded as a string without dashes |
read_uuid_str_dashes | Read a uuid encoded as a string with dashes |
read_varint | Read a Minecraft-style varint, which currently fits into an i32 |
read_varlong | Read a Minecraft-style varlong, which currently fits into an i64 |