Packages

c

io.scalajs.nodejs.buffer

BufferExtensions

implicit final class BufferExtensions extends AnyVal

Buffer Extensions

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufferExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BufferExtensions(buffer: Buffer)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. 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()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val buffer: Buffer
  7. 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()
  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def toHexString: String

    Returns the hex-formatted string

    Returns the hex-formatted string

    returns

    the hex-formatted string

    Annotations
    @inline()
  11. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped