nodeBufferMod

class Object
trait Matchable
class Any

Type members

Classlikes

@JSImport("node:buffer", "Blob") @native @JSType
class Blob extends Blob with _TransferListItem
@JSImport("node:buffer", "Buffer") @native @JSType
class Buffer extends Buffer

Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'

Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'

Companion
object
object Buffer
Companion
class
@JSImport("node:buffer", "SlowBuffer") @native @JSType
class SlowBuffer extends Buffer
object constants

Value members

Concrete methods

@inline
def transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer

Concrete fields

@JSImport("node:buffer", "INSPECT_MAX_BYTES") @native
val INSPECT_MAX_BYTES: Double
@JSImport("node:buffer") @native
val ^: Any
@JSImport("node:buffer", "kMaxLength") @native
val kMaxLength: Double
@JSImport("node:buffer", "kStringMaxLength") @native
val kStringMaxLength: Double