all package:bytestring

O(n) Applied to a predicate and a ByteString, all determines if all elements of the ByteString satisfy the predicate.
Applied to a predicate and a ByteString, all determines if all elements of the ByteString satisfy the predicate.
O(n) Applied to a predicate and a ShortByteString, all determines if all elements of the ShortByteString satisfy the predicate.
A buffer allocation strategy for executing Builders.
The recommended chunk size. Currently set to 4k, less the memory management overhead
Wrapper of mallocForeignPtrBytes with faster implementation for GHC
O(n) Build a ByteString from a malloced CString. This value will have a free(3) finalizer associated to it. This function 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.
O(1) Build a ByteString from a malloced CStringLen. This value will have a free(3) finalizer associated to it. This function 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.