osrs-buffer

Build API Crate dependency status Discord

A buffer for Oldschool Runescape data types.

Installation

Add this to your Cargo.toml file:

toml [dependencies] osrs-buffer = "0.1.0"

Example

```rust use osrs_buffer::ByteBuffer;

fn main() { let mut buf = ByteBuffer::new(1); buf.write_i8(123);

assert_eq!(buf.read_i8(), 123);

} ```

Contributing

This repository is open for contributions. For bigger changes it is advised to open an issue to discuss these matters.

License

osrs-buffer is distributed under the terms of the MIT license.

See LICENSE for details.