public SeriesTextRecord(RecordInputStream in) {field_1_id = in.readUShort();int field_2_textLength = in.readUByte();is16bit = (in.readUByte() & 0x01) != 0;if (is16bit) {field_4_text = in.readUnicodeLEString(field_2_textLength);} else {field_4_text = in.readCompressedUnicode(field_2_textLength);}}
public SeriesTextRecord(RecordInputStream in1){field_1_id = in1.ReadShort();int field_2_textLength = (byte)in1.ReadByte();is16bit = (in1.ReadUByte() & 0x01) != 0;if (is16bit){field_4_text = in1.ReadUnicodeLEString(field_2_textLength);}else{field_4_text = in1.ReadCompressedUnicode(field_2_textLength);}}