private int readVariableSize(int size) throws IOException { long vv; if (size == 1) { return raf.readByte(); } else if (size == 2) { return raf.readShort(); } else if (size == 4) { return raf.readInt(); } throw new IllegalArgumentException("Dont support int size == "+size); }
private int readVariableSize(int size) throws IOException { long vv; if (size == 1) { return raf.readByte(); } else if (size == 2) { return raf.readShort(); } else if (size == 4) { return raf.readInt(); } throw new IllegalArgumentException("Dont support int size == " + size); }
private int readVariableSize(int size) throws IOException { long vv; if (size == 1) { return raf.readByte(); } else if (size == 2) { return raf.readShort(); } else if (size == 4) { return raf.readInt(); } throw new IllegalArgumentException("Dont support int size == " + size); }
private short getDataBlockValue(RandomAccessFile raf, short offset, int skip) throws IOException { long off = offset + message_offset + MESSAGE_HEADER_SIZE; raf.seek(off); raf.skipBytes(skip); return raf.readShort(); }
private short getDataBlockValue(RandomAccessFile raf, short offset, int skip) throws IOException { long off = offset + message_offset + MESSAGE_HEADER_SIZE; raf.seek(off); raf.skipBytes(skip); return raf.readShort(); }
Record71() throws IOException { location = raf.readByte(); raf.readByte(); // skip a byte messtype = raf.readByte(); index = raf.readShort(); address = h5.readOffset(); } }
Record71() throws IOException { location = raf.readByte(); raf.readByte(); // skip a byte messtype = raf.readByte(); index = raf.readShort(); address = h5.readOffset(); } }
Record71() throws IOException { location = raf.readByte(); raf.readByte(); // skip a byte messtype = raf.readByte(); index = raf.readShort(); address = h5.readOffset(); } }
Tag(short code) throws IOException { this.extended = (code & 0x4000) != 0; this.code = (short) (code & 0x3FFF); refno = raf.readShort(); offset = raf.readInt(); length = raf.readInt(); t = TagEnum.getTag(this.code); if ((code > 1) && debugTracker) memTracker.add(t.getName() + " " + refno, offset, offset + length); //if (extended) // System.out.println(""); }