Copyright | (c) Hisaket VioletRed 2022 |
---|---|
License | AGPL-3.0-or-later |
Maintainer | hisaket@outlook.jp |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module is for sequential access to variable-width encoded text data.
In sequential access for variable-width encoded (e.g. UTF-8) text data, It is allowed to read data per line instead of by arbitrary size. And, seek operation is only allowed to both ends of a file.
This restriction of safety assumes no writing from others while opening a file. The behavior is undefined if the assumption is not satisfied. (An encoding corruption occurs typically.)