1.0.15 • Published 9 months ago

buffer.ws v1.0.15

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
9 months ago

buffer.ws

A simple, light and fast bytebuffer implementation under node.js

Hits Inline docs

Table of Contents

Installation

Install the package:

npm i buffer.ws

Importing the package with require:

var BufferWS = require("buffer.ws");

or with import:

import { BufferWS } from 'buffer.ws';

Usage

Example:

var BufferWS = require("buffer.ws");

var buffer = new BufferWS()
                .writeInt(39)
                .writeString("Hello!")
                .flip();
console.log(buffer.readInt(), buffer.readString()); // 39 Hello!

Wiki

Testing

npm run test
1.0.15

9 months ago

1.0.11

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.10

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago