Skip to content

TypedArray and Buffer interoperability #557

@legendecas

Description

@legendecas
  • Version: v0.11.x
  • Platform: all
  • Subsystem: buffer

Buffers and UInt8Arrays are not interoperable.

var arr = new UInt8Array(2)
Buffer.from(arr) // TypeError: Bad arguments: Buffer(string|number|Buffer|Array)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions