Skip to content

Instantly share code, notes, and snippets.

@amandeepmittal
Created August 10, 2017 14:03
Show Gist options
  • Save amandeepmittal/1c42f6674af95b8d347338b7546669d1 to your computer and use it in GitHub Desktop.
Save amandeepmittal/1c42f6674af95b8d347338b7546669d1 to your computer and use it in GitHub Desktop.
let bufferOriginal = Buffer.from(JSON.parse(json).data);
console.log(bufferOriginal);
// Output: <Buffer 54 68 69 73 20 69 73 20 61 20 62 75 66 66 65 72 20 65 78 61 6d 70 6c 65 2e>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment