convert a buffer (or string) to a Uint8Array
github.com/substack/buffer-to-uint8array
substack/buffer-to-uint8array