0 SnocBytes : Type0 Bytes : TypeconcatSnoc : SnocBytes -> ByteStringnl : ByteStringsplitNL : ByteString -> ByteString -> (Maybe Bytes, ByteString)breakLastNL : ByteString -> ByteString -> (Maybe ByteString, ByteString)continuationBytes : Bits8 -> Maybe NatThe number of continuation bytes following a UTF-8 leading byte.
See [Wikipedia](https://en.wikipedia.org/wiki/UTF-8#Description)
for a description of the magic numbers used in the implementation
and the UTF-8 encoding in general.
breakAtLastIncomplete : ByteString -> ByteString -> (Maybe ByteString, ByteString)Breaks a list of byte vectors at the last incomplete UTF-8 codepoint
The first list is a concatenation of all the complete UTF-8 strings,
while the second list contains the last incomplete codepoint (in case
of a valid UTF-8 string, the second list holds at most 3 bytes).
data BSSRes : TypeResult of splitting a byte string at a given substring
TooShort : ByteString -> BSSResInput was too short. Will be passed on as a whole.
NoSS : ByteString -> ByteString -> BSSResSubstring not found. `pst` is one shorter than the substring in question,
because it might still end on a prefix of the substring.
SS : ByteString -> ByteString -> BSSResSubstring was found between `pre` and `pst`.
breakAtSS : ByteString -> ByteString -> BSSRes