function binaryStringToArrayBuffer(binary) {
        var length = binary.length;
        var buf = new ArrayBuffer(length);
        var arr = new Uint8Array(buf);
        var i = -1;
        while (++i < length) {
            arr[i] = binary.charCodeAt(i);
        }
        return buf;
    }
Convert a binary string to an <code>ArrayBuffer</code>.

```js
var myBuffer = blobUtil.binaryStringToArrayBuffer(binaryString)
```

@param binary - binary string
@returns array buffer