Skip to content

About

An implementation of ByteBuffer in C++

Topics

Resources

Stars

88 stars

Watchers

10 watching

Forks

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An implementation of ByteBuffer in C++

Topics

Resources

Stars

88 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages