A buffer for Oldschool Runescape data types.
Add this to your Cargo.toml
file:
toml
[dependencies]
osrs-buffer = "0.5.0"
```rust use osrs_buffer::ByteBuffer;
fn main() { let mut buf = ByteBuffer::new(1); buf.write_i8(123);
assert_eq!(buf.read_i8(), 123);
} ```
This repository is open for contributions. For bigger changes it is advised to open an issue to discuss these matters.
osrs-buffer
is distributed under the terms of the MIT license.
See LICENSE for details.