text: public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);LittleEndian.PutShort(data, offset, Options);LittleEndian.PutShort(data, offset + 2, RecordId);int remainingBytes = 16;LittleEndian.PutInt(data, offset + 4, remainingBytes);LittleEndian.PutInt(data, offset + 8, field_1_rectX1);LittleEndian.PutInt(data, offset + 12, field_2_rectY1);LittleEndian.PutInt(data, offset + 16, field_3_rectX2);LittleEndian.PutInt(data, offset + 20, field_4_rectY2);listener.AfterRecordSerialize(offset + RecordSize, RecordId, offset + RecordSize, this);return 8 + 16;}