code: public void readFrom (@Nonnull @WillNotClose final InputStream aIS) throws IOException
    {
      while (true)
      {
        if (m_nCount == m_aBuf.length)
        {
          // reallocate
          m_aBuf = _enlarge (m_aBuf, m_aBuf.length << 1);
        }
  
        final int nBytesRead = aIS.read (m_aBuf, m_nCount, m_aBuf.length - m_nCount);
        if (nBytesRead < 0)
          return;
        m_nCount += nBytesRead;
      }
    }
docs: Reads the given {@link InputStream} completely into the buffer.
  
  @param aIS
  the InputStream to read from. May not be <code>null</code>. Is not
  closed internally.
  @throws IOException
  If reading fails