azalea/azalea-buf
mat bc3aa9467a
Replace impl Read with Cursor<&[u8]> (#26)
* Start getting rid of Cursor

* try to make the tests pass and fail

* make the tests pass

* remove unused uses

* fix clippy warnings

* fix potential OOM exploits

* fix OOM in az-nbt

* fix nbt benchmark

* fix a test

* start replacing it with Cursor<Vec<u8>>

* wip

* fix all the issues

* fix all tests

* fix nbt benchmark

* fix warnings
2022-10-07 20:12:36 -05:00
..
azalea-buf-macros Replace impl Read with Cursor<&[u8]> (#26) 2022-10-07 20:12:36 -05:00
src Replace impl Read with Cursor<&[u8]> (#26) 2022-10-07 20:12:36 -05:00
Cargo.toml fix chunks not being able to be read 2022-09-04 21:24:10 -05:00
README.md get rid of Readable & Writable (#21) 2022-09-02 12:11:14 -05:00

Azalea Buf

An implementation of Minecraft's FriendlyByteBuf. This is used frequently in the game for serialization and deserialization of data.

Note that there are some minor implementation differences such as using unsigned integers in places where Minecraft uses signed integers. This doesn't cause issues normally, but does technically make usage of azalea-buf detectable if a server really wants to since it won't error in places where vanilla Minecraft would.