public class EntireLayoutFloatSupplierSerializer extends Object implements FloatSupplierSerializer
Constructor and Description |
---|
EntireLayoutFloatSupplierSerializer(IOPeon ioPeon,
String filenameBase,
ByteOrder order) |
Modifier and Type | Method and Description |
---|---|
void |
add(float value) |
void |
close() |
void |
closeAndConsolidate(com.google.common.io.ByteSink consolidatedOut) |
long |
getSerializedSize() |
void |
open() |
int |
size() |
void |
writeToChannel(WritableByteChannel channel,
FileSmoosher smoosher) |
public void open() throws IOException
open
in interface FloatSupplierSerializer
IOException
public int size()
size
in interface FloatSupplierSerializer
public void add(float value) throws IOException
add
in interface FloatSupplierSerializer
IOException
public void closeAndConsolidate(com.google.common.io.ByteSink consolidatedOut) throws IOException
closeAndConsolidate
in interface FloatSupplierSerializer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public long getSerializedSize()
getSerializedSize
in interface FloatSupplierSerializer
public void writeToChannel(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
writeToChannel
in interface FloatSupplierSerializer
IOException
Copyright © 2011–2017. All rights reserved.