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.long writeData(T value) throws java.io.IOException
value - data to be writtenjava.io.IOException - as per java IO contract