A Ant/Maven based protobuf compiler and Java API. Plus helper classes to make it easy to work with byte arrays.
Clone or download
chirino Merge pull request #2 from WillemJiang/master
This pull can fix the OSGi related Issue #1 that I just reported.
Latest commit ca06ee5 Nov 29, 2011

readme.md

HawtBuf

This library implements a simple interface with working with byte arrays. It is a shame that the Java SDK did not come with a built in class that was just simply a byte[], int offset, int length class which provided a rich interface similar to what the String class does for char arrays. This library fills in that void by providing a Buffer class which does provide that rich interface.

It also provides a java protobuf code generator to make it easy to encoded and decode objects to buffers and back.