twilkinson3421/zbinutils
A simple standalone library for reading and writing byte arrays in Zig
4da5744ad7eba5d76d29128ec12902404ceb8e13.tar.gz
A simple standalone library for reading and writing byte arrays in Zig. Supports both little and big endian. Supports writing known and unknown length arrays. Supports reading and writing floats. Supports reading and writing byte arrays, and reading byte arrays prefixed with a length of a specified type.
To get started, first fetch the library; replace the <commit-hash>
with the commit hash for the version you wish to use:
zig fetch --save github.com/twilkinson3421/zbinutils/archive/<commit-hash>.tar.gz
Then, add the library to your build.zig
file:
const binutils = b.dependency("binutils", .{});
exe.root_module.addImport("binutils", binutils.module("binutils"));
This project is licensed under the Unlicense.