code: protected int readByte(InputStream is) throws IOException
     {
        byte[] data = new byte[1];
        if (is.read(data) != data.length)
        {
           throw new EOFException();
        }
  
        return (MPPUtility.getByte(data, 0));
     }
docs: This method reads a single byte from the input stream.
  
  @param is the input stream
  @return byte value
  @throws IOException on file read error or EOF