0.1.3 • Published 7 years ago

codecutils v0.1.3

Weekly downloads
47
License
MIT
Repository
github
Last release
7 years ago

CodecUtils

This package is a toolkit composed of static functions to help reading and writing binary formats.

Install

$ 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.

In a browser

In the browser, you cqn use the version bundled in the dist directory.

Somewhere in your head:

<script src="./path/to/codecutils.js"></script>

Somewhere within <script>...</script> markups:

var isMachineLittleEndian = codecutils.CodecUtils.isPlatformLittleEndian()

In a Rollup project

import { CodecUtils } from 'codecutils';