Skip to content

shmishtopher/wasm-uint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm-uint

uint utilities for WebAssembly

npm i wasm-uint --save

Included functions

all function return a new Uint8ClampedArray

import { uint8 } from 'wasm-uint'  // 8 bit unsigned int
import { uint16 } from 'wasm-uint' // 16 bit unsigned int
import { uint32 } from 'wasm-uint' // 32 bit unsigned int

import { int_u } from 'wasm-uint'  // unsigned int algorithm