Skip to content

Instantly share code, notes, and snippets.

@NOtherDev
NOtherDev / binary.js
Last active February 9, 2016 06:30 — forked from ntulip/BinaryJS
Binary JS
/*
* Binary Ajax 0.1.7
* Copyright (c) 2008 Jacob Seidelin, cupboy@gmail.com, http://blog.nihilogic.dk/
* Licensed under the MPL License [http://www.nihilogic.dk/licenses/mpl-license.txt]
*/
var BinaryFile = function(strData, iDataOffset, iDataLength) {
var data = strData;
var dataOffset = iDataOffset || 0;