"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class TextEncoder {
    constructor() { }
    encode(input) {
        return bridge.dispatchSync("TextEncoder.encode", input);
    }
}
exports.TextEncoder = TextEncoder;
class TextDecoder {
    constructor(encoding) { this.encoding = encoding; }
    decode(input) {
        return bridge.dispatchSync("TextDecoder.decode", input, this.encoding);
    }
}
exports.TextDecoder = TextDecoder;
//# sourceMappingURL=text-encoding.js.map