public int serializeSimplePart(byte[] data, int pos) {LittleEndian.putShort(data, pos, getId());int recordSize = getComplexData().length;if (!sizeIncludesHeaderSize) {recordSize -= 6;}LittleEndian.putInt(data, pos + 2, recordSize);return 6;}
public override int SerializeSimplePart(byte[] data, int pos){LittleEndian.PutShort(data, pos, Id);int recordSize = _complexData.Length;if (!sizeIncludesHeaderSize){recordSize -= 6;}LittleEndian.PutInt(data, pos + 2, recordSize);return 6;}