private int readFromStream() throws IOException {
  int b=in.read();
  rawBytes.write(b);
  return b;
}

private int readFromStream ( ) throws IOException { int b = in . read ( ) ; rawBytes . write ( b ) ; return b ; }
this method should only be called by read ( )
