'Return the offset of the next line to read.'

def _next_offset(self):

    if self._filestream:
        offset = self._filestream.tell()
        if offset:
            offset -= 1
    else:
        offset = self._initial_offset
    return offset
