public final void serialize(LittleEndianOutput out) {if (getTextLength() > 0) {out.writeShort(getTextLength());out.writeByte(field_2_hasMultibyte ? 0x01 : 0x00);if (field_2_hasMultibyte) {StringUtil.putUnicodeLE(field_3_text, out);} else {StringUtil.putCompressedUnicode(field_3_text, out);}}}
public override void Serialize(ILittleEndianOutput out1){if (TextLength > 0){out1.WriteShort(TextLength);out1.WriteByte(field_2_hasMultibyte ? 0x01 : 0x00);if (field_2_hasMultibyte){StringUtil.PutUnicodeLE(field_3_text, out1);}else{StringUtil.PutCompressedUnicode(field_3_text, out1);}}}