public final class EndSubRecord extends SubRecord
The end data record is used to denote the end of the subrecords.
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 |
clone()
Deprecated.
|
EndSubRecord |
copy() |
protected int |
getDataSize() |
short |
getSid() |
boolean |
isTerminating()
Whether this record terminates the sub-record stream.
|
void |
serialize(LittleEndianOutput out) |
java.lang.String |
toString() |
createSubRecord, serialize
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 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 EndSubRecord clone()
public EndSubRecord copy()
copy
in interface Duplicatable
copy
in class SubRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.