Skip to content

Instantly share code, notes, and snippets.

@taterbase
Created May 24, 2012 23:38
Show Gist options
  • Save taterbase/2784890 to your computer and use it in GitHub Desktop.
Save taterbase/2784890 to your computer and use it in GitHub Desktop.

Revisions

  1. taterbase created this gist May 24, 2012.
    7 changes: 7 additions & 0 deletions bin2string.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    function bin2string(array){
    var result = "";
    for(var i = 0; i < array.length; ++i){
    result+= (String.fromCharCode(array[i]));
    }
    return result;
    }