public class NoteStructureSubRecord extends SubRecord
The docs say nothing about it. The length of this record is always 26 bytes.
Modifier and Type | Field and Description |
---|---|
private byte[] |
reserved |
static short |
sid |
Constructor and Description |
---|
NoteStructureSubRecord()
Construct a new
NoteStructureSubRecord and
fill its data with the default values |
NoteStructureSubRecord(RecordInputStream in)
Constructs a NoteStructureSubRecord and sets its fields appropriately.
|
Modifier and Type | Method and Description |
---|---|
protected void |
fillFields(RecordInputStream in)
Read the record data from the supplied
RecordInputStream |
int |
getRecordSize()
Size of record
|
short |
getSid()
return the non static version of the id for this record.
|
int |
serialize(int offset,
byte[] data)
Serialize the record data into the supplied array of bytes
|
String |
toString()
Convert this record to string.
|
protected void |
validateSid(short id)
Checks the sid matches the expected side for this record
|
createSubRecord
clone, isInValueSection, isValue, serialize
public static final short sid
private byte[] reserved
public NoteStructureSubRecord()
NoteStructureSubRecord
and
fill its data with the default valuespublic NoteStructureSubRecord(RecordInputStream in)
protected void validateSid(short id)
validateSid
in class Record
id
- the expected sid.protected void fillFields(RecordInputStream in)
RecordInputStream
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic String toString()
public int serialize(int offset, byte[] data)
public int getRecordSize()
getRecordSize
in class Record
Copyright © 2015 Open Microscopy Environment