public FileSharingRecord(RecordInputStream in) {field_1_readonly = in.readShort();field_2_password = in.readShort();int nameLen = in.readShort();if(nameLen > 0) {field_3_username_unicode_options = in.readByte();field_3_username_value = in.readCompressedUnicode(nameLen);} else {field_3_username_value = "";}}
public FileSharingRecord(RecordInputStream in1){field_1_Readonly = in1.ReadShort();field_2_password = in1.ReadShort();int nameLen = in1.ReadShort();if (nameLen > 0){field_3_username_unicode_options = (byte)in1.ReadByte();field_3_username_value = in1.ReadCompressedUnicode(nameLen);if (field_3_username_value == null){field_3_username_value = "";}}else{field_3_username_value = "";}}