public final class EndSubRecord extends SubRecord implements java.lang.Cloneable
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() |
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()
public EndSubRecord clone()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.