securityos/node_modules/next/dist/esm/server/stream-utils/encode-decode.js

10 lines
243 B
JavaScript

export function encodeText(input) {
return new TextEncoder().encode(input);
}
export function decodeText(input, textDecoder) {
return textDecoder.decode(input, {
stream: true
});
}
//# sourceMappingURL=encode-decode.js.map