public interface FixedField
| Modifier and Type | Method and Description |
|---|---|
void |
readFromBytes(byte[] data)
set the value from its offset into an array of bytes
|
void |
readFromStream(InputStream stream)
set the value from an InputStream
|
String |
toString()
return the value as a String
|
void |
writeToBytes(byte[] data)
write the value out to an array of bytes at the appropriate
offset
|
void readFromBytes(byte[] data)
throws ArrayIndexOutOfBoundsException
data - the byte array from which the value is to be readArrayIndexOutOfBoundsException - if the offset is out
of the array's valid index rangevoid readFromStream(InputStream stream) throws IOException, LittleEndian.BufferUnderrunException
stream - the InputStream from which the value is to be
readLittleEndian.BufferUnderrunException - if there is not enough data
available from the InputStreamIOException - if an IOException is thrown from reading
the InputStreamvoid writeToBytes(byte[] data)
throws ArrayIndexOutOfBoundsException
data - the array of bytes to which the value is to be
writtenArrayIndexOutOfBoundsException - if the offset is out
of the array's valid index rangeCopyright © 2016 Open Microscopy Environment