ztellman/gloss — pull request #3 by sunng87 (2011-12-23 10:13:39+00:00)
Title: Add int24 support

Hi Zach,

This is a patch for gloss to support int24 and uint24 as primitives. 3-byte integer are supported in Netty, and also used in [Diameter Protocol](http://en.wikipedia.org/wiki/Diameter_%28protocol%29#Packet_format). Please review this patch because it's a little complex to convert bytes<->int<->uint . The algorithm is stolen from Netty's Buffer API.