bireader 3.1.10 → 3.1.12
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/README.md +3 -1
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.js +802 -3
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs.d.ts +2 -2
- package/dist/index.cjs.js +1612 -30
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.d.ts +2 -2
- package/dist/index.esm.js +1612 -11
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -746,7 +746,9 @@ Common functions for setup, movement, manipulation and math shared by both.
|
|
|
746
746
|
|
|
747
747
|
## BiStreams
|
|
748
748
|
|
|
749
|
-
With 3.1 you can now use ``BiReaderStream`` and ``BiWriterStream`` (Node only) designed for larger files (or if you don't want or need the whole file loaded to memory all at once).
|
|
749
|
+
With 3.1 you can now use ``BiReaderStream`` and ``BiWriterStream`` (Node.js only) designed for larger files (or if you don't want to or need to load the whole file loaded to memory all at once).
|
|
750
|
+
|
|
751
|
+
**Programmers Note:** These are *NOT* data streams like ``fs.createReadStream`` where the whole file is streamed over time. It uses ``fs.openSync`` and ``fs.readSync`` and ``fs.writeSync`` to read and write just the data requested at the position requested at the time of operation, saving memory but costing processing power. This is mostly for legacy uses and niche cases as the newer versions of the Node.js have a much larger Buffer size over the older 4gig limit.
|
|
750
752
|
|
|
751
753
|
<table>
|
|
752
754
|
<thead>
|