org.http4s.blaze.util

BufferTools

Related Doc: package util

object BufferTools

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BufferTools
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def allocate(size: Int): ByteBuffer

    Allocate a fresh ByteBuffer

    Allocate a fresh ByteBuffer

    size

    size of desired ByteBuffer

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def bufferToString(buffer: ByteBuffer): String

    Get the String representation of the ByteBuffer

  7. def checkEmpty(buffers: TraversableOnce[ByteBuffer]): Boolean

    Check the array of buffers to ensure they are all empty

    Check the array of buffers to ensure they are all empty

    buffers

    ByteBuffers to check for data

    returns

    true if they are empty, false if there is data remaining

  8. def checkEmpty(buffers: Array[ByteBuffer]): Boolean

    Check the array of buffers to ensure they are all empty

    Check the array of buffers to ensure they are all empty

    buffers

    ByteBuffers to check for data

    returns

    true if they are empty, false if there is data remaining

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def concatBuffers(oldbuff: ByteBuffer, newbuff: ByteBuffer): ByteBuffer

    Join the two buffers into a single ByteBuffer.

    Join the two buffers into a single ByteBuffer. This method is guaranteed to return a ByteBuffer, but it may be empty.

  11. def copyBuffer(b: ByteBuffer): ByteBuffer

    Make a copy of the ByteBuffer, zeroing the input buffer

  12. def dropEmpty(buffers: Array[ByteBuffer]): Int

    Replaces any empty buffers except for the last one with the emptyBuffer to allow GC of depleted ByteBuffers and returns the index of the first non-empty ByteBuffer, or the last index, whichever comes first.

  13. val emptyBuffer: ByteBuffer

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def joinBuffers(buffers: Seq[ByteBuffer]): ByteBuffer

    Merge the ByteBuffers into a single buffer

  21. def mkString(buffers: Seq[ByteBuffer], charset: Charset = StandardCharsets.UTF_8): String

    Make a String from the collection of ByteBuffers

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped