PKBuffer

PKBuffer is a simple but flexible buffer library that allows you to cast Rust objects onto a byte buffer. It was born of multiple memory parsing scenarios such as executable header parsing and game ROM memory mapping. Its name comes from the magic that is casting arbitrary structure definitions at byte buffers and the fact that I was reverse engineering the game EarthBound at the time.

You can read the documentation here, and see various use examples in the test file.

Changelog

0.3.0

This version makes major changes! The Buffer struct is now a trait, and the struct has been converted to PtrBuffer. This simplifies the code and unifies the featureset without having to repeat code all over the place. Additionally, it gives the user the ability to define their own Buffer object.

Bugfixes

0.2.0

Bugfixes

0.1.0

Features