public long readLong() throws IOException { if (remaining < 8) { return (long) readUnsignedByte() << 56L | (long) readUnsignedByte() << 48L | (long) readUnsignedByte() << 40L | (long) readUnsignedByte() << 32L | (long) readUnsignedByte() << 24L | (long) readUnsignedByte() << 16L | (long) readUnsignedByte() << 8L | (long) readUnsignedByte(); } else { remaining -= 8; return riverUnmarshaller.readLong(); } }
public int readInt() throws IOException { if (remaining < 4) { return readUnsignedByte() << 24 | readUnsignedByte() << 16 | readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 4; return riverUnmarshaller.readInt(); } }
public short readShort() throws IOException { if (remaining < 2) { return (short) (readUnsignedByte() << 8 | readUnsignedByte()); } else { remaining -= 2; return riverUnmarshaller.readShort(); } }
public char readChar() throws IOException { if (remaining < 2) { return (char) (readUnsignedByte() << 8 | readUnsignedByte()); } else { remaining -= 2; return riverUnmarshaller.readChar(); } }
public int readUnsignedShort() throws IOException { if (remaining < 2) { return readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 2; return riverUnmarshaller.readUnsignedShort(); } }
public long readLong() throws IOException { if (remaining < 8) { return (long) readUnsignedByte() << 56L | (long) readUnsignedByte() << 48L | (long) readUnsignedByte() << 40L | (long) readUnsignedByte() << 32L | (long) readUnsignedByte() << 24L | (long) readUnsignedByte() << 16L | (long) readUnsignedByte() << 8L | (long) readUnsignedByte(); } else { remaining -= 8; return riverUnmarshaller.readLong(); } }
public long readLong() throws IOException { if (remaining < 8) { return (long) readUnsignedByte() << 56L | (long) readUnsignedByte() << 48L | (long) readUnsignedByte() << 40L | (long) readUnsignedByte() << 32L | (long) readUnsignedByte() << 24L | (long) readUnsignedByte() << 16L | (long) readUnsignedByte() << 8L | (long) readUnsignedByte(); } else { remaining -= 8; return riverUnmarshaller.readLong(); } }
public long readLong() throws IOException { if (remaining < 8) { return (long) readUnsignedByte() << 56L | (long) readUnsignedByte() << 48L | (long) readUnsignedByte() << 40L | (long) readUnsignedByte() << 32L | (long) readUnsignedByte() << 24L | (long) readUnsignedByte() << 16L | (long) readUnsignedByte() << 8L | (long) readUnsignedByte(); } else { remaining -= 8; return riverUnmarshaller.readLong(); } }
public int readInt() throws IOException { if (remaining < 4) { return readUnsignedByte() << 24 | readUnsignedByte() << 16 | readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 4; return riverUnmarshaller.readInt(); } }
public int readInt() throws IOException { if (remaining < 4) { return readUnsignedByte() << 24 | readUnsignedByte() << 16 | readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 4; return riverUnmarshaller.readInt(); } }
public int readInt() throws IOException { if (remaining < 4) { return readUnsignedByte() << 24 | readUnsignedByte() << 16 | readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 4; return riverUnmarshaller.readInt(); } }
public int readInt() throws IOException { if (remaining < 4) { return readUnsignedByte() << 24 | readUnsignedByte() << 16 | readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 4; return riverUnmarshaller.readInt(); } }
public int readUnsignedShort() throws IOException { if (remaining < 2) { return readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 2; return riverUnmarshaller.readUnsignedShort(); } }
public int readUnsignedShort() throws IOException { if (remaining < 2) { return readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 2; return riverUnmarshaller.readUnsignedShort(); } }
public char readChar() throws IOException { if (remaining < 2) { return (char) (readUnsignedByte() << 8 | readUnsignedByte()); } else { remaining -= 2; return riverUnmarshaller.readChar(); } }
public char readChar() throws IOException { if (remaining < 2) { return (char) (readUnsignedByte() << 8 | readUnsignedByte()); } else { remaining -= 2; return riverUnmarshaller.readChar(); } }
public short readShort() throws IOException { if (remaining < 2) { return (short) (readUnsignedByte() << 8 | readUnsignedByte()); } else { remaining -= 2; return riverUnmarshaller.readShort(); } }
public int readUnsignedShort() throws IOException { if (remaining < 2) { return readUnsignedByte() << 8 | readUnsignedByte(); } else { remaining -= 2; return riverUnmarshaller.readUnsignedShort(); } }
public short readShort() throws IOException { if (remaining < 2) { return (short) (readUnsignedByte() << 8 | readUnsignedByte()); } else { remaining -= 2; return riverUnmarshaller.readShort(); } }
public short readShort() throws IOException { if (remaining < 2) { return (short) (readUnsignedByte() << 8 | readUnsignedByte()); } else { remaining -= 2; return riverUnmarshaller.readShort(); } }