org.http4s.blaze.util

BufferTools

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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def allocate(size: Int): ByteBuffer

    Allocate a new ByteBuffer on the heap

    Allocate a new ByteBuffer on the heap

    size

    size of desired ByteBuffer

  7. final def asInstanceOf[T0]: T0

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

    Get the String representation of the ByteBuffer

  9. 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

  10. 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

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. 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.

  13. def copyBuffer(b: ByteBuffer): ByteBuffer

    Make a copy of the ByteBuffer, depleting the input buffer

  14. 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.

  15. val emptyBuffer: ByteBuffer

    Cached empty ByteBuffer

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

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

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

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

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

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

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

    Merge the ByteBuffers into a single buffer

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

    Make a String from the collection of ByteBuffers

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

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

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

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped