public void serialize(final LittleEndianOutput out) {final int field_4_name_length = field_6_name_text.length();final int field_5_comment_length = field_7_comment_text.length();out.writeShort(field_1_record_type);out.writeShort(field_2_frt_cell_ref_flag);out.writeLong(field_3_reserved);out.writeShort(field_4_name_length);out.writeShort(field_5_comment_length);boolean isNameMultiByte = StringUtil.hasMultibyte(field_6_name_text);out.writeByte(isNameMultiByte ? 1 : 0);if (isNameMultiByte) {StringUtil.putUnicodeLE(field_6_name_text, out);} else {StringUtil.putCompressedUnicode(field_6_name_text, out);}boolean isCommentMultiByte = StringUtil.hasMultibyte(field_7_comment_text);out.writeByte(isCommentMultiByte ? 1 : 0);if (isCommentMultiByte) {StringUtil.putUnicodeLE(field_7_comment_text, out);} else {StringUtil.putCompressedUnicode(field_7_comment_text, out);}}
public override void Serialize(ILittleEndianOutput out1){int field_4_name_length = field_6_name_text.Length;int field_5_comment_length = field_7_comment_text.Length;out1.WriteShort(field_1_record_type);out1.WriteShort(field_2_frt_cell_ref_flag);out1.WriteLong(field_3_reserved);out1.WriteShort(field_4_name_length);out1.WriteShort(field_5_comment_length);out1.WriteByte(0);StringUtil.PutCompressedUnicode(field_6_name_text,out1);out1.WriteByte(0);StringUtil.PutCompressedUnicode(field_7_comment_text, out1);}