https://github.com/shmishtopher/wasm-uint
uint utilities for WebAssembly
https://github.com/shmishtopher/wasm-uint
little-endian uint wasm wasm-bytecode wasm-codegen webassembly
Last synced: 18 days ago
JSON representation
uint utilities for WebAssembly
- Host: GitHub
- URL: https://github.com/shmishtopher/wasm-uint
- Owner: shmishtopher
- License: mit
- Created: 2019-01-16T20:59:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-20T00:54:19.000Z (over 7 years ago)
- Last Synced: 2025-09-23T23:29:09.677Z (8 months ago)
- Topics: little-endian, uint, wasm, wasm-bytecode, wasm-codegen, webassembly
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wasm-uint
uint utilities for WebAssembly
```npm i wasm-uint --save```
## Included functions
all function return a new `Uint8ClampedArray`
```javascript
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
```