Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
GrosSacASac committed Nov 5, 2019
1 parent c500136 commit e2f7f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "utilsac",
"version": "12.2.0",
"version": "12.2.1",
"description": "Utility functions",
"type": "module",
"main": "utility.js",
Expand Down
2 changes: 1 addition & 1 deletion typeCast.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export {


const stringFromArrayBuffer = function (arrayBuffer, encoding = `utf-8`) {
return (new TextDecoder(encoding)).decode(new DataView(arrayBuffer));
return (new TextDecoder(encoding)).decode(arrayBuffer);
};

const xFromBlob = function (readAs) {
Expand Down

0 comments on commit e2f7f4d

Please sign in to comment.