final class ByteBufferOps extends AnyVal
- Source
- bytebuffer.scala
- Alphabetic
- By Inheritance
- ByteBufferOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ByteBufferOps(buffer: ByteBuffer)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- 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
- 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.
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any