Open TheFreezebug opened 6 years ago
https://github.com/Facepunch/garrysmod-requests/issues/594 would pretty much solve this. Any kind of generic stream reader and writer would be great..
Here's a question: What binary data are you unable to currently parse? Something from an external online file acquired via HTTP and its library?
Would greatly improve Advdupe2 because it uses a temp file right now for binary operations.
What "binary operations" does it do?
I'd use it for reading Quake WADs and Goldsrc BSPs, which currently requires writing everything to a file and thus is super slow.
Also string builders.
For parsing binary data in glua it would be pretty nice to have a stream reader / writer that's housed in ram :p.
It's slow having to write content to the disk then use file.Open on it. Basically, it'd be nice to have the same implementation the file.Open object has, except the stream it's writing to is in memory instead.