sz_status_t sz_strings_split_lines_best(
sz_cptr_t text,
sz_size_t length,
sz_allocator_t *allocator,
sz_strings_span_t *tape,
sz_capability_t capabilities,
sz_stream_t stream);
Backends
sz_strings_split_linesserialicelakeneon
The breaks are those of Python's str.splitlines() over UTF-8: LF, VT, FF, CR, FS, GS, RS, CR LF, NEL, LS and PS, and a final break leaves no empty line after it. Allocates and reuses tape like sz_strings_split_best, and like every collection verb it is atomic.
Parameters
See also