New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

sdataview

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sdataview

A Simple DataView library, to simplify for IO operations on a ArrayBuffer

latest
Source
npmnpm
Version
1.0.7
Version published
Maintainers
0
Created
Source

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);
}

Keywords

DataView

FAQs

Package last updated on 19 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts