MCPcopy Create free account
hub / github.com/denoland/std / isBase64Char

Function isBase64Char

http/unstable_structured_fields.ts:503–506  ·  view source on GitHub ↗

Check if character is a valid base64 character

(c: string)

Source from the content-addressed store, hash-verified

501
502/** Check if character is a valid base64 character */
503function isBase64Char(c: string): boolean {
504 const code = c.charCodeAt(0);
505 return code < 128 && BASE64_LOOKUP[code]!;
506}
507
508/** Check if character is a lowercase hex digit (0-9, a-f) */
509function isLcHexDigit(c: string): boolean {

Callers 1

parseBinaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected