binarify
v1.0.2
Published
Converts backslash-escaped strings into a Buffer
Downloads
1
Readme
Binarify
Converts a backslash-escaped string into a Buffer. It's similar to the backslash package, except backslash used punycode's encoder to handle hex escapes, breaking some things.
const binarify = require('binarify');
binarify('\xCC'); // <Buffer cc>