PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@polkadot/x-textdecoder/cjs

Просмотр файла: fallback.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextDecoder = void 0;
class TextDecoder {
    __encoding;
    constructor(encoding) {
        this.__encoding = encoding;
    }
    decode(value) {
        let result = '';
        for (let i = 0, count = value.length; i < count; i++) {
            result += String.fromCharCode(value[i]);
        }
        return result;
    }
}
exports.TextDecoder = TextDecoder;

Выполнить команду


Для локальной разработки. Не используйте в интернете!