all -base +bytestring

all :: (Char -> Bool) -> ByteString -> Bool
bytestring Data.ByteString.Char8, bytestring Data.ByteString.Lazy.Char8
Applied to a predicate and a ByteString, all determines if all elements of the ByteString satisfy the predicate.
all :: (Word8 -> Bool) -> ByteString -> Bool
bytestring Data.ByteString, bytestring Data.ByteString.Lazy
O(n) Applied to a predicate and a ByteString, all determines if all elements of the ByteString satisfy the predicate.
unsafePackMallocCString :: CString -> IO ByteString
bytestring Data.ByteString.Unsafe
O(n) Build a ByteString from a malloced CString. This value will have a free(3) finalizer associated to it. This funtion is unsafe. If the original CString is later modified, this change will be reflected in the resulting ByteString, breaking referential transparency. This function is also unsafe if you call its finalizer twice, which will result in a double free error, or if you pass it a CString not allocated with malloc.