Packages

final class ByteBufferOps extends AnyVal

Source
bytebuffer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteBufferOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ByteBufferOps(buffer: ByteBuffer)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def asArray: Array[Byte]

    Safely copies the contents of a ByteBuffer to a byte array.

    Safely copies the contents of a ByteBuffer to a byte array. Will ensure that the ByteBuffer's current state remains intact.

    returns

    Byte array with the contents of the ByteBuffer

  5. def asBase64String: String

    Safely copies the content of a ByteBuffer]] into a Base64. encoded string. Will ensure that the ByteBuffer's current state remains intact.

    returns

    Base64 string with the contents of the ByteBuffer

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asString: String

    Safely copies the content of a ByteBuffer into a string.

    Safely copies the content of a ByteBuffer into a string. Will ensure that the ByteBuffer's current state remains intact.

    returns

    String with the contents of the ByteBuffer

  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped