public void start(final ByteInput byteInput) throws IOException { depth = 0; blockUnmarshaller = new BlockUnmarshaller(this); super.start(byteInput); int version = readUnsignedShort(); if (version > 5) { throw new IOException("Unsupported protocol version " + version); } this.version = version; }
public void start(final ByteInput byteInput) throws IOException { depth = 0; blockUnmarshaller = new BlockUnmarshaller(this); super.start(byteInput); int version = readUnsignedShort(); if (version > 5) { throw new IOException("Unsupported protocol version " + version); } this.version = version; }
public void start(final ByteInput byteInput) throws IOException { depth = 0; blockUnmarshaller = new BlockUnmarshaller(this); super.start(byteInput); int version = readUnsignedShort(); if (version > 5) { throw new IOException("Unsupported protocol version " + version); } this.version = version; }
public void start(final ByteInput byteInput) throws IOException { depth = 0; blockUnmarshaller = new BlockUnmarshaller(this); super.start(byteInput); int version = readUnsignedShort(); if (version > 5) { throw new IOException("Unsupported protocol version " + version); } this.version = version; }
public int readUnsignedShort() throws IOException { if (remaining < 2) { return readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 2; return serialUnmarshaller.readUnsignedShort(); } }
public int readUnsignedShort() throws IOException { if (remaining < 2) { return readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 2; return serialUnmarshaller.readUnsignedShort(); } }
public int readUnsignedShort() throws IOException { if (remaining < 2) { return readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 2; return serialUnmarshaller.readUnsignedShort(); } }
public int readUnsignedShort() throws IOException { if (remaining < 2) { return readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 2; return serialUnmarshaller.readUnsignedShort(); } }
instanceCache.add(UNRESOLVED); final int descFlags = readUnsignedByte(); final int fieldCount = readUnsignedShort(); final int[] typecodes; final String[] names;
instanceCache.add(UNRESOLVED); final int descFlags = readUnsignedByte(); final int fieldCount = readUnsignedShort(); final int[] typecodes; final String[] names;
instanceCache.add(UNRESOLVED); final int descFlags = readUnsignedByte(); final int fieldCount = readUnsignedShort(); final int[] typecodes; final String[] names;
instanceCache.add(UNRESOLVED); final int descFlags = readUnsignedByte(); final int fieldCount = readUnsignedShort(); final int[] typecodes; final String[] names;
final int len = readUnsignedShort(); final String str = UTFUtils.readUTFBytesByByteCount(this, len); return replaceOrReturn(unshared, str);
final int len = readUnsignedShort(); final String str = UTFUtils.readUTFBytesByByteCount(this, len); return replaceOrReturn(unshared, str);
final int len = readUnsignedShort(); final String str = UTFUtils.readUTFBytesByByteCount(this, len); return replaceOrReturn(unshared, str);
final int len = readUnsignedShort(); final String str = UTFUtils.readUTFBytesByByteCount(this, len); return replaceOrReturn(unshared, str);