Created
May 22, 2014 01:51
-
-
Save thoraxe/f5ea76de5da298a11b87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> reader.result | |
ArrayBuffer {} | |
>>> ab2str(reader.result) | |
"䥇㡆愹⇿ᇾ牃慥整楷桴䜠䵉P,�ĀĀ�Ȃń㬀" | |
>>> ab2str(reader.result).length | |
28 | |
>>> reader.result.length | |
undefined | |
>>> blob = new Blob(ab2str(reader.result)) | |
[Exception... "The method parameter is missing or invalid." code: "0" nsresult: "0x8053001a (TypeError)" location: "<unknown>"] { code=0, message="The method parameter is missing or invalid.", result=2152923162, more...} | |
>>> blob = new Blob([ab2str(reader.result)]) | |
Blob { size=67, constructor=function(), type="", more...} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment