MCPcopy Index your code
hub / github.com/NativeScript/firebase / b64WithoutPrefix

Function b64WithoutPrefix

packages/firebase-storage/utils.ts:1–3  ·  view source on GitHub ↗
(b64)

Source from the content-addressed store, hash-verified

1export function b64WithoutPrefix(b64) {
2 return b64.split(',')[1];
3}
4
5export function getMIMEforBase64String(b64) {
6 return b64.split(',')[0]?.replace(';base64', '')?.replace('data:', '') ?? 'application/octet-stream';

Callers 2

putStringMethod · 0.90
putStringMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…