SkillAgentSearch skills...

ByteBufferCpp

An implementation of ByteBuffer in C++

Install / Use

/learn @RamseyK/ByteBufferCpp
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ByteBufferCpp

Ramsey Kant

https://github.com/RamseyK/ByteBufferCpp

This class was written to provide Java's ByteBuffer functionality in many of my internal C++ projects. The code was recently rewritten and may contain bugs! Feel free to make any suggestions for improving the code or request any features that could be beneficial to a variety of applications that may use this class.

Looking for ByteBuffer in C? Try https://github.com/RamseyK/ByteBufferC

Why Byte Buffer?

  • Relative and Absolute get() & put() methods
  • Easier to work with than a raw byte array
  • Read and Write large amounts of data
  • Easy way to manipulate or create custom data structures

Example usage scenarios

  • HTTP: Request & Response parsers
  • Packets: Parse or Create custom packets to send over the network in a quick and easy manner

Acknowledgements

  • 17 January 2016: Additions from upstream fork by Ashley Davis (SgtCoDFish)

License

Apache License v2.0. See LICENSE file.

View on GitHub
GitHub Stars88
CategoryDevelopment
Updated2mo ago
Forks39

Languages

C++

Security Score

100/100

Audited on Jan 3, 2026

No findings