implicit final class BufferExtensions extends AnyVal
Buffer Extensions
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BufferExtensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- def +(aBuffer: Buffer): Buffer
Syntactic sugar for concatenating a buffer
Syntactic sugar for concatenating a buffer
- aBuffer
another buffer
- returns
a new buffer with the concatenated contents of both buffers
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val buffer: Buffer
- def byteLength(encoding: String = "utf8"): Int
Returns the actual byte length of a string.
Returns the actual byte length of a string. This is not the same as String.prototype.length since that returns the number of characters in a string.
- encoding
the optional encoding (default "utf8")
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toHexString: String
Returns the hex-formatted string
Returns the hex-formatted string
- returns
the hex-formatted string
- Annotations
- @inline()
- def toString(): String
- Definition Classes
- Any