@libpdf/core 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4 -1
- package/dist/index.mjs +4587 -4553
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -49,7 +49,10 @@ declare class ByteWriter {
|
|
|
49
49
|
writeUtf8(str: string): void;
|
|
50
50
|
/**
|
|
51
51
|
* Get final bytes.
|
|
52
|
-
*
|
|
52
|
+
*
|
|
53
|
+
* If the internal buffer is exactly the right size, returns it directly
|
|
54
|
+
* (zero-copy). Otherwise returns a trimmed copy so the oversized buffer
|
|
55
|
+
* can be garbage collected.
|
|
53
56
|
*
|
|
54
57
|
* Note: ByteWriter is single-use. Do not write after calling toBytes().
|
|
55
58
|
*/
|