public DConRefRecord(RecordInputStream inStream) {if (inStream.getSid() != sid) {throw new RecordFormatException("Wrong sid: " + inStream.getSid());}firstRow = inStream.readUShort();lastRow = inStream.readUShort();firstCol = inStream.readUByte();lastCol = inStream.readUByte();charCount = inStream.readUShort();charType = inStream.readUByte() & 0x01;final int byteLength = charCount * (charType + 1);path = IOUtils.safelyAllocate(byteLength, MAX_RECORD_LENGTH);inStream.readFully(path);if (path[0] == 0x02) {_unused = inStream.readRemainder();}}

public DConRefRecord(RecordInputStream inStream){if (inStream.Sid != sid)throw new RecordFormatException("Wrong sid: " + inStream.Sid);firstRow = inStream.ReadUShort();lastRow = inStream.ReadUShort();firstCol = inStream.ReadUByte();lastCol = inStream.ReadUByte();charCount = inStream.ReadUShort();charType = inStream.ReadUByte() & 0x01; int byteLength = charCount * (charType + 1);path = new byte[byteLength];inStream.ReadFully(path);if (path[0] == 0x02)_unused = inStream.ReadRemainder();}
