This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@smithy/util-base64/dist-es/constants.browser.js
T

10 lines
362 B
JavaScript

const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
export const alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
acc[c] = Number(i);
return acc;
}, {});
export const alphabetByValue = chars.split("");
export const bitsPerLetter = 6;
export const bitsPerByte = 8;
export const maxLetterValue = 0b111111;