215
215
Read characters until a sequence is found, with optional max size.
216
216
The specified sequence, if found, will be included in the result
218
>>> f = IterableFile(['Th\\nis ', 'is \\n', 'a ', 'te\\nst.'])
218
>>> f = IterableFile([b'Th\\nis ', b'is \\n', b'a ', b'te\\nst.'])
225
225
Traceback (most recent call last):
226
226
ValueError: File is closed.