Fix incorrect API usage in docs

This commit is contained in:
Vanilagy
2025-06-27 19:06:17 +02:00
parent 846fa0b183
commit 0ff0729fec
10 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ const output = new Output({
output.target.buffer; // => null
await output.finalize();
output.target.buffer; // => Uint8Array
output.target.buffer; // => ArrayBuffer
```
This target is a great choice for small-ish files (< 100 MB), but since all data will be kept in memory, using it for large files is suboptimal. If the output gets very large, the page might crash due to memory exhaustion. For these cases, using `StreamTarget` is recommended.