MCPcopy Create free account
hub / github.com/microsoft/SandDance / getArrayBufferOrStringFromData

Function getArrayBufferOrStringFromData

docs/app/js/sanddance-app.js:56105–56107  ·  view source on GitHub ↗
(_x, _x2)

Source from the content-addressed store, hash-verified

56103 throw new Error(ERR_DATA);
56104}
56105function getArrayBufferOrStringFromData(_x, _x2) {
56106 return _getArrayBufferOrStringFromData.apply(this, arguments);
56107}
56108function _getArrayBufferOrStringFromData() {
56109 _getArrayBufferOrStringFromData = (0, _asyncToGeneratorDefault.default)((0, _regeneratorDefault.default).mark(function _callee(data, loader) {
56110 var isArrayBuffer, response;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected