import { TextDecoder, TextEncoder } from 'util';
const decoder = new TextDecoder('utf-8');
export function decode(bytes) {
    return decoder.decode(bytes);
}
const encoder = new TextEncoder();
export function encode(str) {
    return encoder.encode(str);
}
//# sourceMappingURL=utf8.js.map