public int read() throws IOException { byte[] b = {}; int count = internalRead(b, 0, 1); return count > 0 ? b[0] : -1; }
public InputStream getInputStream() throws IOException { InputStream is = s.getInputStream(); InterruptableInputStream iis = new InterruptableInputStream(is); return iis; }
public int read(byte[] b) throws IOException { return internalRead(b, 0, b.length); }
public int read(byte[] b, int off, int len) throws IOException { return internalRead(b, off, len); }