public NoteRecord(RecordInputStream in) {field_1_row = in.readUShort();field_2_col = in.readShort();field_3_flags = in.readShort();field_4_shapeid = in.readUShort();int length = in.readShort();field_5_hasMultibyte = in.readByte() != 0x00;if (field_5_hasMultibyte) {field_6_author = StringUtil.readUnicodeLE(in, length);} else {field_6_author = StringUtil.readCompressedUnicode(in, length);}if (in.available() == 1) {field_7_padding = Byte.valueOf(in.readByte());} else if (in.available() == 2 && length == 0) {field_7_padding = Byte.valueOf(in.readByte());in.readByte();}}

public NoteRecord(RecordInputStream in1){field_1_row = in1.ReadShort();field_2_col = in1.ReadUShort();field_3_flags = in1.ReadShort();field_4_shapeid = in1.ReadUShort();int length = in1.ReadShort();field_5_hasMultibyte = in1.ReadByte() != 0x00;if (field_5_hasMultibyte) {field_6_author = StringUtil.ReadUnicodeLE(in1, length);} else {field_6_author = StringUtil.ReadCompressedUnicode(in1, length);}if (in1.Available() == 1) {field_7_padding = (byte)in1.ReadByte();}else if (in1.Available() == 2 && length == 0){field_7_padding = (byte)in1.ReadByte();in1.ReadByte();}}
