Crates.io | pkbuffer |
lib.rs | pkbuffer |
version | 0.4.2 |
source | src |
created_at | 2022-02-18 07:40:13.56401 |
updated_at | 2023-01-06 12:18:36.344968 |
description | Buffer objects made for arbitrary casting and addressing! |
homepage | |
repository | https://github.com/frank2/pkbuffer |
max_upload_size | |
id | 534615 |
size | 114,713 |
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. The changelog can be found here.