A simple way to read binary data from an arbitrary InputStream, such as a file:
A simple way to write binary data to an arbitrary OutputStream, such as a file:
Tango Dual License: 3-Clause BSD License / Academic Free License v3.0. See LICENSE_TANGO.txt for details.
Copyright (c) 2007 Kris Bell. Some parts copyright (c) 2009-2016 dunnhumby Germany GmbH. All rights reserved.
Initial release: Oct 2007
These classes represent a simple means of reading and writing discrete data types as binary values, with an option to invert the endian order of numeric values.
Arrays are treated as untyped byte streams, with an optional length-prefix, and should otherwise be explicitly managed at the application level. We'll add additional support for arrays and aggregates in future.