PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@iota/bcs/dist/cjs
Просмотр файла: utils.d.ts
import type { Encoding } from './types.js';
/**
* Encode data with either `hex` or `base64`.
*
* @param {Uint8Array} data Data to encode.
* @param {String} encoding Encoding to use: base64 or hex
* @return {String} Encoded value.
*/
export declare function encodeStr(data: Uint8Array, encoding: Encoding): string;
/**
* Decode either `base64` or `hex` data.
*
* @param {String} data Data to encode.
* @param {String} encoding Encoding to use: base64 or hex
* @return {Uint8Array} Encoded value.
*/
export declare function decodeStr(data: string, encoding: Encoding): Uint8Array;
export declare function splitGenericParameters(str: string, genericSeparators?: [string, string]): string[];
Выполнить команду
Для локальной разработки. Не используйте в интернете!