docs: protected final <T> T processStream( Binary binary,
                                           BinaryOperation<T> operation ) throws Exception {
          InputStream stream = binary.getStream();
          if (stream == null) {
              throw new IllegalArgumentException("The binary value is empty");
          }
  
          try {
              return operation.execute(stream);
          } finally {
              stream.close();
          }
      }