public final class NoteStructureSubRecord extends SubRecord
Represents a NoteStructure sub record.
The docs say nothing about it. The length of this record is always 26 bytes.
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
NoteStructureSubRecord()
Construct a new
NoteStructureSubRecord and
fill its data with the default values |
NoteStructureSubRecord(LittleEndianInput in,
int size)
Read the record data from the supplied
RecordInputStream |
NoteStructureSubRecord(NoteStructureSubRecord other) |
Modifier and Type | Method and Description |
---|---|
NoteStructureSubRecord |
clone()
Deprecated.
|
NoteStructureSubRecord |
copy() |
protected int |
getDataSize() |
short |
getSid() |
void |
serialize(LittleEndianOutput out)
Serialize the record data into the supplied array of bytes
|
java.lang.String |
toString()
Convert this record to string.
|
createSubRecord, isTerminating, serialize
public static final short sid
public NoteStructureSubRecord()
NoteStructureSubRecord
and
fill its data with the default valuespublic NoteStructureSubRecord(NoteStructureSubRecord other)
public NoteStructureSubRecord(LittleEndianInput in, int size)
RecordInputStream
in
- the input to read fromsize
- the provided size - must be 22public java.lang.String toString()
toString
in class java.lang.Object
public void serialize(LittleEndianOutput out)
protected int getDataSize()
getDataSize
in class SubRecord
public short getSid()
@Deprecated @Removal(version="5.0.0") public NoteStructureSubRecord clone()
public NoteStructureSubRecord copy()
copy
in interface Duplicatable
copy
in class SubRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.