binary-utility-functions
v2.2.5
Published
This library provides a handy set of utility functions for manipulating binary values- such as those ascertained from a Buffer, or a TCP stream. These functions can be split into two categories: 1) Type validity checking 2) Type conversion
Downloads
5
Readme
Binary Utility Functions
This library provides a handy set of utility functions for manipulating binary values- such as those ascertained from a Buffer, or a TCP stream. These functions can be split into two categories:
- Type validity checking
- Type conversion
The purpose of this library is to assist with designing or using Binary protocols.
Getting Started
To get started, simply run: npm i binary-utility-functions
at the root of the
project.
From here, import the code into a file. Both ESM and CJS imports are supported.
See:
types.md
for details on the integer types that this function supports.naming_conventions.md
for documentation on function naming conventions.examples.md
for example usages of every function provided by this library.