bufferview

2.0.0 • Public • Published

BufferView

A DataView for node Buffers.

Additional API

  • BufferView.create(Buffer|ArrayBuffer):BufferView|DataView
    Creates a BufferView if wrapping a Buffer and a DataView otherwise
  • BufferView.isBufferView(*):boolean
    Tests if a view is a BufferView wrapping a Buffer
  • BufferView.isDataView(*):boolean
    Tests if a view is a DataView wrapping an ArrayBuffer

License: Apache License, Version 2.0

Package Sidebar

Install

npm i bufferview

Weekly Downloads

3,403

Version

2.0.0

License

Apache-2.0

Unpacked Size

27.6 kB

Total Files

5

Last publish

Collaborators

  • dcode