text: 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;}