code: @Override
      public int read(byte[] b) throws IOException {
          int count = origStream.read(b);
          os.write(b, 0, count);
          return count;
      }
docs: /* (non-Javadoc)
  @see java.io.InputStream#read(byte[])