Package Exports
- buffer.ws
- buffer.ws/src/BufferWS.ts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (buffer.ws) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
buffer.ws
A simple and fast bytebuffer implementation under node.js
Table of Contents
Installation
npm i buffer.wsUsage
var BufferWS = require("buffer.ws");
var buffer = new BufferWS()
.writeInt(39)
.writeString("Hello!")
.flip();
console.log(buffer.readInt(), buffer.readString()); // 39 Hello!
Testing
npm run test