public int readByte() throws IOException { return in.read(); }
public int readByte() throws IOException { return in.read(); }
public int readUnsignedLeb128() throws IOException { int value = 0; int read; do { read = in.read(); if (read == -1) throw new EOFException(); value = (value << 7) | (read & 0x7f); } while ((read & 0x80) != 0); return value; }
public void readBytes(byte[] bytes, int offset, int length) throws IOException { while (length > 0) { int read = in.read(bytes, offset, length); if (read == -1) throw new EOFException(); offset += read; length -= read; } }
public void readBytes(byte[] bytes, int offset, int length) throws IOException { while (length > 0) { int read = in.read(bytes, offset, length); if (read == -1) throw new EOFException(); offset += read; length -= read; } }
public int readUnsignedLeb128() throws IOException { int value = 0; int read; do { read = in.read(); if (read == -1) throw new EOFException(); value = (value << 7) | (read & 0x7f); } while ((read & 0x80) != 0); return value; }
@Override public int read(byte[] b, int off, int len) { try { return dataInputStream.read(b, off, len); } catch (IOException e) { throw new RuntimeIOException(e); } }
@Override public int read(byte[] b, int off, int len) { try { return dataInputStream.read(b, off, len); } catch (IOException e) { throw new RuntimeIOException(e); } }
@Override public int read() { try { return dataInputStream.read(); } catch (IOException e) { throw new RuntimeIOException(e); } }
@Override public int read(byte[] b) { try { return dataInputStream.read(b); } catch (IOException e) { throw new RuntimeIOException(e); } }
@Override public int read() { try { return dataInputStream.read(); } catch (IOException e) { throw new RuntimeIOException(e); } }
@Override public int read(byte[] b) { try { return dataInputStream.read(b); } catch (IOException e) { throw new RuntimeIOException(e); } }