Skip to content

🔧 add `VarBuffer` `IOBuffer` and `LineBuffer`

Sylvain Fargier requested to merge wip-buffer into master
  • VarBuffer IOBuffer and LineBuffer are now browser compatible, API is slightly different (working with Uint8Array and DataView objects)
  • IOBuffer is still relevant with regards to DataView since you can fill-in (or read) a buffer with straight-forward code, not having to worry whereas you make invalid access (and check fail flag in the end, like one would do with C++ iostreams).
  • LineBuffer is a new addition, simply proving takeLine and *lines generator
Edited by Sylvain Fargier

Merge request reports