Crate osrs_bytes

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 traits that can work with these data types.

This crate provides Read and Write extensions for working with the data types on any data structure implementing &[u8] such as Vec, Cursor etc.

Traits