1.0.1 • Published 7 years ago

@branscha/hex v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

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.