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