MCPcopy Index your code
hub / github.com/angular/angular / fromBase64

Function fromBase64

packages/common/http/src/transfer_cache.ts:420–424  ·  view source on GitHub ↗
(base64: string)

Source from the content-addressed store, hash-verified

418}
419
420function fromBase64(base64: string): ArrayBuffer {
421 const binary = atob(base64);
422 const bytes = Uint8Array.from(binary, (c) => c.charCodeAt(0));
423 return bytes.buffer;
424}
425
426/**
427 * Returns the DI providers needed to enable HTTP transfer cache.

Callers 1

retrieveStateFromCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…