Commit Graph

2 Commits

Author SHA1 Message Date
Patric Stout
ad863eaabc fix: failure to process data-files on first load (#5)
When data-files are not cached, some chunks are really small (like 36
bytes small). This could cause the buffer to be too small to decode the
next entry, causing a failure.

Solve this by always reading at least 2048 bytes in the next buffer.
This is a bit slow, as it has to copy over all the chunks leading up to
2048 bytes into a new buffer.
2023-11-12 18:36:22 +00:00
Patric Stout
12bf3bd7d2 feat: initial work in rendering a fit (#1) 2023-11-12 15:37:04 +01:00