| |||||||
| |||||||
| Description | |||||||
| Compatiblity for ByteStrings | |||||||
| Synopsis | |||||||
| |||||||
| Documentation | |||||||
| breakChar :: Char -> ByteString -> (ByteString, ByteString) | |||||||
| breakCharEnd :: Char -> ByteString -> (ByteString, ByteString) | |||||||
breakCharEnd behaves like breakChar, but from the end of the ByteString. breakCharEnd ('b') (pack "aabbcc") == ("aab","cc")
and the following are equivalent: breakCharEnd 'c' "abcdef" let (x,y) = break (=='c') (reverse "abcdef") in (reverse (drop 1 y), reverse x) | |||||||
| dropSpaceEnd :: ByteString -> ByteString | |||||||
| rechunkLazy :: ByteString -> ByteString | |||||||
| Chunk a lazy bytestring into reasonable chunks - is id from outside. This is useful to make bytestring chunks reasonable sized for e.g. compression. | |||||||
| Produced by Haddock version 2.1.0 |