Read a line of uncompressed bytes from the file. The terminating newline (if present) is retained. If size is non-negative, no more than size bytes will be read (in which case the line may be incomplete). Returns b'' if already at EOF.
(self, size=-1)
| 220 | return self._buffer.read1(size) |
| 221 | |
| 222 | def readline(self, size=-1): |
| 223 | """Read a line of uncompressed bytes from the file. |
| 224 | |
| 225 | The terminating newline (if present) is retained. If size is |
| 226 | non-negative, no more than size bytes will be read (in which |
| 227 | case the line may be incomplete). Returns b'' if already at EOF. |
| 228 | """ |
| 229 | self._check_can_read() |
| 230 | return self._buffer.readline(size) |
| 231 | |
| 232 | def write(self, data): |
| 233 | """Write a bytes object to the file. |
nothing calls this directly
no test coverage detected