docs: @VisibleForTesting
    MemoryPooledByteBuffer newByteBuf(
        InputStream inputStream, MemoryPooledByteBufferOutputStream outputStream) throws IOException {
      mPooledByteStreams.copy(inputStream, outputStream);
      return outputStream.toByteBuffer();
    }