in src/azstoragetorch/io.py [0:0]
def readline(self, size: Optional[int] = -1, /) -> bytes:
"""Read and return a line from the file-like object.
The line terminator is always ``b'\\n'``.
:param size: The maximum number of bytes to read. If not specified, all bytes
will be read up to the next line terminator.
:returns: The bytes read from the blob.
"""
if size is not None:
self._validate_is_integer("size", size)
self._validate_readable()
self._validate_not_closed()
return self._readline(size)