Create an ArrayBuffer with the [raw bytes][javascript-encoding] from a String.
npm install array-buffer-from-stringCreate an ArrayBuffer with the [raw bytes][javascript-encoding] from a String.
``sh`
npm install --save array-buffer-from-string
`js
const arrayBufferFromString = require('array-buffer-from-string')
console.log(arrayBufferFromString('Hello world!'))
//=> ArrayBuffer { byteLength: 24 }
`
Create an ArrayBuffer with the [raw bytes][javascript-encoding] from a String.
[javascript-encoding]: https://mathiasbynens.be/notes/javascript-encoding
hex-to-array-buffer - Turn a string of hexadecimal characters into an ArrayBuffer`