Package net.royalur.lut.store
Class DataSink.FileDataSink
java.lang.Object
net.royalur.lut.store.DataSink
net.royalur.lut.store.DataSink.FileDataSink
- Enclosing class:
- DataSink
Provides an interface to write binary data to a file.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.royalur.lut.store.DataSink
DataSink.FileDataSink
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(Consumer<ByteBuffer> writeFn) void
writeChunked
(ChunkedWriter chunkWriter, int bytesPerValue, int startIndex, int endIndex)
-
Constructor Details
-
FileDataSink
-
-
Method Details
-
write
- Specified by:
write
in classDataSink
- Throws:
IOException
-
writeChunked
public void writeChunked(ChunkedWriter chunkWriter, int bytesPerValue, int startIndex, int endIndex) throws IOException - Specified by:
writeChunked
in classDataSink
- Throws:
IOException
-