Constructs a End record and sets its fields appropriately.paramid id must be 0x00 or an exception will be throw upon validationparamsize size the size of the data area of the recordparamdata data of the record (should not contain sid/len) super(in);
super(in);
EndSubRecord rec = new EndSubRecord(); return rec;
Size of record (exluding 4 byte header) return 4 ;
return 4 ;
return sid;
LittleEndian.putShort(data, 0 + offset, sid); LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4)); return getRecordSize();
StringBuffer buffer = new StringBuffer(); buffer.append("[ftEnd]\n"); buffer.append("[/ftEnd]\n"); return buffer.toString();
Checks the sid matches the expected side for this recordparamid the expected sid. if (id != sid) { throw new RecordFormatException("Not a End record"); }
if (id != sid) { throw new RecordFormatException("Not a End record"); }