code: public void readFully(byte[] b) throws IOException
     {
        int l = in.read(b);
  
        if (l < 0)
           throw new EOFException();
        if (l < b.length && l > 0)
           throw new StreamCorruptedException("Unexpected EOF in middle of data block.");
     }
docs: {@inheritDoc}