Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
65
export
function
decodeBitmap(data: string | Uint8Array | ArrayBuffer): IBitmap {
66
return
new
BitmapImpl(BitmapNative.decodeNativeBitmap(data));
67
}
Callers
1
compareSnapshots
Function · 0.90
Calls
1
decodeNativeBitmap
Method · 0.80
Tested by
no test coverage detected