public void serialize(LittleEndianOutput out) {out.writeShort(field_1_id);out.writeByte(field_4_text.length());if (is16bit) {out.writeByte(0x01);StringUtil.putUnicodeLE(field_4_text, out);} else {out.writeByte(0x00);StringUtil.putCompressedUnicode(field_4_text, out);}}

public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_id);out1.WriteByte(field_4_text.Length);if (is16bit){out1.WriteByte(0x01);StringUtil.PutUnicodeLE(field_4_text, out1);}else{out1.WriteByte(0x00);StringUtil.PutCompressedUnicode(field_4_text, out1);}}
