cbs

0.1.1 • Public • Published

CBS (Carlos's Buffer Serializer)

This is a simple module to re-use two small functions I have copied and pasted many times.

serialize(buffers)

Take an array of buffers and serialize them into a single Buffer, using 32 bit unsigned length ints.

unserialize(buf)

Take the output of serialize and return the original buffers as an Array.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    669
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    669
  • 0.1.0
    1

Package Sidebar

Install

npm i cbs

Weekly Downloads

670

Version

0.1.1

License

MIT

Last publish

Collaborators

  • carlos8f