__builtin__.bytearray.splitlines

bytearray.splitlines(keepends=False) → list of lines

Return a list of the lines in B, breaking at line boundaries. Line breaks are not included in the resulting list unless keepends is given and true.