An open API service indexing awesome lists of open source software.

https://github.com/bee-san/linebytes

.lines() for non-UTF8 files by reading bytes and breaking on 0x0A (linefeed)
https://github.com/bee-san/linebytes

Last synced: 18 days ago
JSON representation

.lines() for non-UTF8 files by reading bytes and breaking on 0x0A (linefeed)

Awesome Lists containing this project

README

          

# LineBytes
**Update** I have no idea how to implement this as an iterator, so this project is on pause until then.

.lines() for non-UTF8 files by reading bytes and breaking on 0x0A (linefeed)

You want to read a file line by line.
That file isn't UTF8, so you cannot read into a string or use `.lines()`.

This little library solves that problem.

This is something I made to solve my own problem, so if you have any requirements / want to improve it please submit a PR.