MCPcopy Index your code
hub / github.com/microsoft/SandDance / toDataView

Function toDataView

docs/app/js/sanddance-app.js:57864–57869  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

57862 };
57863}
57864function toDataView(data) {
57865 if (data instanceof DataView) return data;
57866 if (ArrayBuffer.isView(data)) return new DataView(data.buffer);
57867 if (data instanceof ArrayBuffer) return new DataView(data);
57868 throw new Error("toDataView");
57869}
57870
57871},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"btEBf":[function(require,module,exports) {
57872// This file enables: import 'probe.gl/bench'.

Callers 5

getBinaryImageMetadataFunction · 0.70
getPngMetadataFunction · 0.70
getGifMetadataFunction · 0.70
getBmpMetadataFunction · 0.70
getJpegMetadataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected