public interface CustomField extends Cloneable
Modifier and Type | Method and Description |
---|---|
int |
fillField(RecordInputStream in)
Populates this fields data from the byte array passed in.
|
int |
getSize() |
int |
serializeField(int offset,
byte[] data)
Converts this field to it's byte array form.
|
void |
toString(StringBuffer str)
Appends the string representation of this field to the supplied
StringBuffer.
|
int getSize()
fillField()
int fillField(RecordInputStream in)
in
- the RecordInputstream to read the record fromvoid toString(StringBuffer str)
str
- The string buffer to append to.int serializeField(int offset, byte[] data)
offset
- The offset into the byte array to start writing to.data
- The data array to write to.Copyright © 2015 Open Microscopy Environment