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

Function toBase64Digit

packages/compiler/src/output/source_map.ts:186–192  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

184const B64_DIGITS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
185
186function toBase64Digit(value: number): string {
187 if (value < 0 || value >= 64) {
188 throw new Error(`Can only encode value in the range [0, 63]`);
189 }
190
191 return B64_DIGITS[value];
192}

Callers 2

toBase64StringFunction · 0.85
toBase64VLQFunction · 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…