Some handy tools for decoding binary files in pure JS
npm install codecutilsbash
$ npm install --save codecutils
`Use
The name codecutils is the name of the package, while CodecUtils is the name of the class that contains static methods.
Read the documetation to know about the static methods available.$3
In the browser, you cqn use the version bundled in the dist directory.Somewhere in your head:
`html
`Somewhere within
markups:
`javascript
var isMachineLittleEndian = codecutils.CodecUtils.isPlatformLittleEndian()
`$3
`javascript
import { CodecUtils } from 'codecutils';
``