public void serialize(LittleEndianOutput out) {out.writeShort(getReadOnly());out.writeShort(getPassword());out.writeShort(field_3_username_value.length());if(field_3_username_value.length() > 0) {out.writeByte(field_3_username_unicode_options);StringUtil.putCompressedUnicode(getUsername(), out);}}

public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(ReadOnly);out1.WriteShort(Password);out1.WriteShort(field_3_username_value.Length);if (field_3_username_value.Length > 0){out1.WriteByte(field_3_username_unicode_options);StringUtil.PutCompressedUnicode(Username, out1);}}
