Skip to content

NumberEncoder/NumberDecoder with API similar to TextEncoder/TextDecoder

Notifications You must be signed in to change notification settings

perceptron8/number-encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

number-encoding

NumberEncoder/NumberDecoder with API similar to TextEncoder/TextDecoder.

Usage

let number = ...;
let encoder = new NumberEncoder("Int16");
let bytes = encoder.encode(number);

let bytes = ...;
let decoder = new NumberDecoder("Float64");
let number = decoder.decode(bytes);

See also

About

NumberEncoder/NumberDecoder with API similar to TextEncoder/TextDecoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published