T - data type of the series to be written.public interface DataWriter<T>
DataReader because
array length is known when writing, therefore the same interface can be used both for single objects and arrays.| Modifier and Type | Method and Description |
|---|---|
long |
writeData(T value)
Write some data out.
|
long writeData(T value) throws java.io.IOException
value - data to be writtenjava.io.IOException - as per java IO contract