Skip to content

SgtCoDFish/ByteBufferCpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Changes in this fork:

- C++14 required
- Adds ByteBuffer to bb namespace
- Marking some functions const
- Changes clone() to return unique_ptr
- CMake support

-----

ByteBufferCpp
Ramsey Kant

https://github.com/RamseyK/ByteBufferCpp
http://code.google.com/p/bytebuffer-cpp/


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.

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 

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

About

An implementation of ByteBuffer in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 96.0%
  • CMake 2.1%
  • Makefile 1.9%