MCPcopy Create free account
hub / github.com/Snapchat/Valdi / decodeBitmap

Function decodeBitmap

src/valdi_modules/src/valdi/drawing/src/BitmapFactory.ts:65–67  ·  view source on GitHub ↗
(data: string | Uint8Array | ArrayBuffer)

Source from the content-addressed store, hash-verified

63 * or as a buffer.
64 */
65export function decodeBitmap(data: string | Uint8Array | ArrayBuffer): IBitmap {
66 return new BitmapImpl(BitmapNative.decodeNativeBitmap(data));
67}

Callers 1

compareSnapshotsFunction · 0.90

Calls 1

decodeNativeBitmapMethod · 0.80

Tested by

no test coverage detected