mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
a2633b6374
When reading `CHUNK_SIZE` characters. Additionally, avoid suboptimal code (`ffi.string(…)` on the whole buffer followed by `string.sub(…)` + concatenation) by using a string buffer.