tango.io.stream.Data

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:

Functions

main
void main()

Meta

License

BSD style: $(LICENSE)

Version

Initial release: Oct 2007

Authors

Kris

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.