This is an implementation of the Netstring protocol as defined here: http://cr.yp.to/proto/netstrings.txt (by D. J. Bernstein, djbpobox.com). It adds the ability to read and write Netstrings onto any byte or character stream. Integer, ByteArray, and String can be converted to or from a Netstring. See the methods added to those classes (instance and class methods). Netstrings are handy for creating network protocols.