1.0.7 • Published 8 months ago

sdataview v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

SDataView

A Simple DataView library, to simplify for IO operations on a ArrayBuffer. This is a dropin replacement for the DataVeiw interface.

Example

import SDataView form "sdataview"

const array = new Uint8Array([9, 95, 95, 89, 255]);
const view = new SDataView(array.buffer);
let read;
// This will print 9, 95, 95, 89 and 255
while (read = view.readUint8()) {
    console.log("Read: ", read);
}
1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

9 months ago

1.0.3

9 months ago

1.0.1

9 months ago