public final class EndSubRecord extends SubRecord
The end data record is used to denote the end of the subrecords.
SubRecord.SubRecordTypes
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
EndSubRecord() |
EndSubRecord(LittleEndianInput in,
int size) |
Modifier and Type | Method and Description |
---|---|
EndSubRecord |
copy() |
protected int |
getDataSize() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
SubRecord.SubRecordTypes |
getGenericRecordType() |
short |
getSid() |
boolean |
isTerminating()
Whether this record terminates the sub-record stream.
|
void |
serialize(LittleEndianOutput out) |
createSubRecord, getMaxRecordLength, serialize, setMaxRecordLength, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public EndSubRecord()
public EndSubRecord(LittleEndianInput in, int size)
in
- unused (since this record has no data)size
- must be 0public boolean isTerminating()
SubRecord
true
- EndSubRecord (sid = 0x00)
- LbsDataSubRecord (sid = 0x12)isTerminating
in class SubRecord
public void serialize(LittleEndianOutput out)
protected int getDataSize()
getDataSize
in class SubRecord
public short getSid()
public EndSubRecord copy()
copy
in interface Duplicatable
copy
in class SubRecord
public SubRecord.SubRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class SubRecord
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.