code.d.ts 892 B

123456789101112
  1. import { byte2hexStr, bytesToString, hextoString, byteArray2hexStr, base64DecodeFromString, base64EncodeToString } from './bytes.js';
  2. import type { BytesLike } from '../types/UtilsTypes.js';
  3. export declare function bin2String(array: BytesLike): string;
  4. export declare function arrayEquals(array1: any[], array2: any[], strict?: boolean): boolean;
  5. export declare function stringToBytes(str: string): number[];
  6. export { byte2hexStr, bytesToString, hextoString, byteArray2hexStr, base64DecodeFromString, base64EncodeToString };
  7. export declare function hexChar2byte(c: string): number;
  8. export declare function isHexChar(c: string): 0 | 1;
  9. export declare function hexStr2byteArray(str: string, strict?: boolean): number[];
  10. export declare function strToDate(str: string): Date;
  11. export declare function isNumber(c: string): 0 | 1;
  12. export declare function getStringType(str: string): 1 | -1 | 2 | 3;