PHP WebShell
Текущая директория: /opt/BitGoJS/modules/babylonlabs-io-btc-staking-ts/node_modules/@cosmjs/encoding/build
Просмотр файла: utf8.d.ts
export declare function toUtf8(str: string): Uint8Array;
/**
* Takes UTF-8 data and decodes it to a string.
*
* In lossy mode, the [REPLACEMENT CHARACTER](https://en.wikipedia.org/wiki/Specials_(Unicode_block))
* is used to substitude invalid encodings.
* By default lossy mode is off and invalid data will lead to exceptions.
*/
export declare function fromUtf8(data: Uint8Array, lossy?: boolean): string;
Выполнить команду
Для локальной разработки. Не используйте в интернете!