code: @Nullable
    public static byte [] getAllBytes (@Nullable final IHasInputStream aISP)
    {
      if (aISP == null)
        return null;
  
      return getAllBytes (aISP.getInputStream ());
    }
docs: Read all bytes from the passed input stream into a byte array.
  
  @param aISP
  The input stream provider to read from. May be <code>null</code> .
  @return The byte array or <code>null</code> if the parameter or the resolved
  input stream is <code>null</code>.