Skip to content

charcoal-dev/buffers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charcoal Buffers

Tests MIT License

Buffers is a library designed for the intricate handling of byte arrays. Within its suite of tools, you'll find capabilities that not only simplify the generation of cryptographic hashes and seamless byte array reading but also provide robust solutions for fixed-sized buffer frames and variable length buffers. Furthermore, understanding the significance of byte order, our library offers comprehensive support for both little-endian and big-endian configurations, ensuring optimal adaptability and interoperability across diverse platforms and systems. Crafted with precision and emphasizing user experience, this library offers an unparalleled bridge between complexity and usability in the byte array manipulation arena.

For detailed information, guidance, and setup instructions regarding this library, please refer to our official documentation website:

https://charcoal.dev/lib/buffers

Features

Explore the library's features through the following guides:

  • Buffer Management: Learn about mutable (Buffer) and immutable (BufferImmutable) buffers, integer writing, and basic manipulation.
  • Byte Reader: Understand how to use the sequential reader for parsing binary data.
  • Endianness and Byte Order: Guides on handling different byte orders (LE/BE), host architecture detection, and integer packing.
  • TLV (Type-Length-Value) Codec: Documentation on the structured binary encoding and decoding system.
  • Fixed-Length Types: Overview of specialized buffers for fixed-size data like cryptographic hashes or identifiers.

Installation

You can install the library via Composer:

composer require charcoal-dev/buffers

About

Byte Array Buffers for Charcoal Apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages