DataReader
interface with the following features:
Implements structured data checks mandatory by the DataReader
interface (an IllegalStateException
thrown on error).
Defines encoding methods with suffix 0
(e.g readBoolean
calls readBoolean0
).DataWriter
interface with the following features:
Implements structured data checks mandatory by the DataWriter
interface (an IllegalStateException
thrown on error).
Defines encoding methods with suffix 0
(e.g writeBoolean
calls writeBoolean0
).AbstractDataWriter
that will use the given Flushable
to notify the end of the data.