get-byte
A Universal way of getting a Byte at a Given Index from a variety of in-memory data formats, including Uint8Array, Buffer, DataView, and Array Buffer
install
npm install get-byte
usage
; // gets the 10th byte from a buffer; // gets the 10th byte from an array buffer; // gets the 10th byte from a data view; // gets the 10th byte from a Uint8Array;