"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.encode = exports.decode = void 0;
// eslint-disable-next-line import/no-unassigned-import
require("./text-encoding-polyfill");
const decoder = new TextDecoder('utf-8');
function decode(bytes) {
    return decoder.decode(bytes);
}
exports.decode = decode;
const encoder = new TextEncoder();
function encode(str) {
    return encoder.encode(str);
}
exports.encode = encode;
//# sourceMappingURL=utf8.browser.js.map