mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update text-encoder-stream.mjs
This commit is contained in:
@@ -23,7 +23,7 @@ function create(src) {
|
||||
controller.close();
|
||||
},
|
||||
}).pipeThrough(encoderStream);
|
||||
return await new Response(stream).text();
|
||||
return await new Response(stream).bytes();
|
||||
}
|
||||
|
||||
// if (new TextDecoder().decode(await runBench(oneKB)) !== src) {
|
||||
|
||||
Reference in New Issue
Block a user