Skip to content

Instantly share code, notes, and snippets.

@ccac
Forked from taterbase/bin2string.js
Created July 14, 2016 06:24
Show Gist options
  • Select an option

  • Save ccac/23f07d64d302741340f8194cc9613897 to your computer and use it in GitHub Desktop.

Select an option

Save ccac/23f07d64d302741340f8194cc9613897 to your computer and use it in GitHub Desktop.

Revisions

  1. @taterbase 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;
    }