bytearray2

bytearray flash wrapper

Usage no npm install needed!

<script type="module">
  import bytearray2 from 'https://cdn.skypack.dev/bytearray2';
</script>

README

ByteArray

ByteArray wrapper from Actionscript 3 for NodeJs

Install

$ npm install bytearray2 --save

Usage

var ByteArray = require('bytearray2');
var buff = new ByteArray();
byteArray.writeBoolean(true);
byteArray = new ByteArray(byteArray);
byteArray.readBoolean(); // return true

API Doc

http://snapizz.github.io/node-bytearray2/index.html