Class ConcatenatingByteBufferCollector

    • Method Detail

      • collect

        public void collect​(BytesInput bytesInput)
        Collects the content of the specified input. It allocates a new ByteBuffer instance that can contain all the content.
        Parameters:
        bytesInput - the input which content is to be collected
      • writeInto

        public void writeInto​(ByteBuffer buffer)
      • size

        public long size()
        Specified by:
        size in class BytesInput
        Returns:
        the size in bytes that would be written
      • memUsageString

        public String memUsageString​(String prefix)
        Parameters:
        prefix - a prefix to be used for every new line in the string
        Returns:
        a text representation of the memory usage of this structure