ocean.io.stream.Data

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.

Members

Classes

DataInput
class DataInput

A simple way to read binary data from an arbitrary InputStream, such as a file:

DataOutput
class DataOutput

A simple way to write binary data to an arbitrary OutputStream, such as a file:

Meta

License

Tango Dual License: 3-Clause BSD License / Academic Free License v3.0. See LICENSE_TANGO.txt for details.

Version

Initial release: Oct 2007

Authors

Kris