Interface DataWriter<T>
-
- Type Parameters:
T- data type of the series to be written.
public interface DataWriter<T>A basic interface defining a writer. It can ... write! In terms of CRAM this is an abstraction to get rid off implementation details like what is data and where to write to. Pure consumer. Note: the interface does not have writeArray method like it's counterpartDataReaderbecause array length is known when writing, therefore the same interface can be used both for single objects and arrays.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longwriteData(T value)Write some data out.
-
-
-
Method Detail
-
writeData
long writeData(T value) throws IOException
Write some data out.- Parameters:
value- data to be written- Returns:
- number of bits written
- Throws:
IOException- as per java IO contract
-
-