![]() |
před 2 roky | |
---|---|---|
.. | ||
dist | před 2 roky | |
externs | před 2 roky | |
scripts | před 2 roky | |
src | před 2 roky | |
tests | před 2 roky | |
.npmignore | před 2 roky | |
.travis.yml | před 2 roky | |
LICENSE | před 2 roky | |
README.md | před 2 roky | |
bower.json | před 2 roky | |
bytebuffer.png | před 2 roky | |
donate.png | před 2 roky | |
index.js | před 2 roky | |
jsdoc.json | před 2 roky | |
package.json | před 2 roky |
A fast and complete ByteBuffer implementation using either ArrayBuffers in the browser or node Buffers under node.js, generated from a single source tree through MetaScript.
The library is compatible with CommonJS and AMD loaders and is exposed globally as dcodeIO.ByteBuffer
if neither is
available.
var ByteBuffer = require("bytebuffer");
var bb = new ByteBuffer()
.writeIString("Hello world!")
.flip();
console.log(bb.readIString()+" from bytebuffer.js");
In the browser, 64 bit integer support is optional and present only if Long.js has been loaded prior to bytebuffer.js.
Dretch (IE8 compatibility)
License: Apache License, Version 2.0 - Logo derived from W3C HTML5 Logos (CC A 3.0)