Crate osrs_buffer
source · [−]Expand description
A Rust library for working with the Oldschool Runescape data types.
Data types in Oldschool Runescape are slightly different compared to normal types. Example of these types are the smart type, middle endian, and occassional switching to little endian. Therefore it has been seen as necessary to have a buffer that can work with these data types.
The buffer in this implementation is backed by a Vec, and a reading and writing position is used for knowing where the buffer can read and write from in the buffer.
Structs
The ByteBuffer for reading and writing binary data.