Skip to content

JavaScript package for hex encoding/decoding.

Notifications You must be signed in to change notification settings

branscha/lib-hex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hex Codec Build Status

Goal

Standard 'hex' encoding of raw strings.

  • A raw string is a string where each character represents a single byte, only the lower 8 bits are considered (technically a JavaScript character could contain 16 bits).

Example using CommonJS semantics.

var hex = require('@branscha/hex');
var encoded = hex.encode("Hello World");
var decoded = hex.decode(encoded);

The package contains an UMD module.

About

JavaScript package for hex encoding/decoding.

Resources

Stars

Watchers

Forks

Packages

No packages published