A compact, fast, and easy-to-use binary serialization format for efficient data storage and transfer.
Binn is a binary serialization library that provides a compact and fast format for encoding structured data. It solves the need for efficient data interchange between applications, particularly in network communication and file storage, by minimizing size and maximizing read performance.
Developers working on networked applications, embedded systems, or any project requiring efficient binary data serialization across different platforms and languages.
Developers choose Binn for its zero-copy read capabilities, cross-platform stability, and straightforward API, offering a lightweight alternative to bulkier serialization formats with minimal overhead.
Binary Serialization
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Elements are stored with sizes to optimize space and read performance, as described in the performance section, making it efficient for network transmission.
Returns pointers to strings, blobs, and containers within the buffer, avoiding memory allocation and copying, which significantly boosts efficiency for large data.
Supports primitives like integers, floats, and strings, plus containers such as lists, maps, and objects, enabling complex data structures as shown in the data types section.
Stable for production use across little-endian and big-endian devices, ensuring reliable data interchange in heterogeneous environments.
Read functions do not fully check buffer integrity, requiring developers to implement validation manually, as warned in the security section with example code.
Many language wrappers are community-maintained or partial (e.g., Erlang implementation), leading to inconsistent features and potential maintenance issues.
The README provides basics and links to spec and usage, but lacks comprehensive tutorials or API references, making onboarding more challenging for new users.