- Add functions for recovering length from
ByteArrayN - Add
Data.Bytes.Indexedfor functions onByteArrayN
- Add functions to
Data.Bytes.Text.AsciiExt:split(1|2|3|4),splitTetragram1,anyEq,takeWhileNotEq,dropWhileNotEq,takeWhileEndNotEq, dropWhileEndEq`. - Increment upper bound on
primitive-unlifted
- Restore
Data.Bytes.Text.Utf8.toText.
- Update package metadata.
- Add
replicateandreplicateBytetoData.Bytes.Chunks.
- Add
Data.Bytes.Chunks.cons. - Add
Data.Bytes.fromLazyByteString. - Allow building with GHC 9.8.
- Fix regression causing build failure in GHC 9.2.
- Add
Data.Bytes.Encode.LittleEndian. - Add
splitTetragram1.
- Add
equals13,equals14,equals15. - Add
Showinstances forBytesNandByteArrayN. - Add
equalsCStringCaseInsensitivefor ascii text.
- Add
toShortText,toShortTextU, andtoTexttoData.Byte.Text.Ascii. - Add
fromShortTextandfromTexttoData.Bytes.Text.Utf8.
- Add
Data.Bytes.replaceandData.Bytes.findIndices - Add
Data.Bytes.fromShortText - Add
Data.Bytes.fromPrimArray - Add
decodeDecWord - Add
concatArrayandconcatArrayU.
- Add support for GHC 9.2.
- Drop support for GHC 8.8 and earlier.
- Add
foldlMandfoldrMfor mondic folds over byte sequences.
- Add
BytesNandByteArrayN. - Add
isInfixOf. - Add
hForLines_andhFoldLines. - Add
liftandunliftfor converting betweenBytesandBytes#. - Move text-oriented functions from Data.Bytes to
Data.Bytes.Text.*. Provide aliases with older names that come with deprecation warning.
- Correct compatibility shims.
- Compatibility with GHC 9.0.
- Add
Data.Bytes.Chunks.concatByteString. - Expose
pinnedToByteStringto end users.
- Add
toByteStringandfromByteString. - Add
fromShortByteString. - Add
equalsLatin(9|10|11|12). - Add
toPinnedByteArray,toPinnedByteArrayClone, andconcatPinnedU. - Add
toLowerAsciiByteArrayClone. - Add
intercalateByte2. - Add
splitEnd1.
- Add
fnv1a32andfnv1a64, implementations of the 32-bit and 64-bit variants of the FNV-1a hash algorithm, to bothData.BytesandData.Bytes.Chunks. - Add
Data.Bytes.Chunks.null. - Add
readFileto bothData.BytesandData.Bytes.Chunks. - Add
foldl'toData.Bytes.Chunks. - Add
splittoData.Bytes.Chunks. - Add
splitStreamfor splitting as a good stream-fusion producer. - Add
hPutandwriteFiletoData.Bytes.Chunks. - Add
fromCString#. - Add
Bytes#newtype on GHC 8.10 and up.
- Add
split4. - Add
equalsCString. - Add
stripCStringPrefix. - Add
equalsLatin8. - Add
emptyPinned. - Add
concatPinnedtoData.Bytes.Chunks. - Add
anyandall.
- Add
longestCommonPrefix. - Fix broken
Ordinstance ofBytes.
- Change behavior of
split. This function previously had a special case for zero-length byte sequences to mirror the behaviorbytestring's behavior. Now,splitreturns a singleton list with the empty byte sequence in this case. - Add
splitNonEmptyso that users who need to take advantage of the non-null guaranteesplitprovides can do so. - Add
splitUandsplitInitUfor users who are going to split a byte sequence without and consume the results more than once. - Make the C code compile on platforms that do not have
rawmemchr. - Rename
splitOncetosplit1. - Add
split2andsplit3. - Add
equalsLatin{1,2,3,4,5,6,7} - Add
ifoldl'. - Add
hGetandhPut. - Move
Data.Bytes.Chunksfromsmall-bytearray-buildertobyteslice. - Rename
Data.Bytes.Chunks.concattoconcatU(the U means unsliced), and add a newconcatthat returnsBytes. - Add
fromBytes,fromByteArray, andunsafeCopytoData.Bytes.Chunks. - Add
hGetContentstoData.Bytes.Chunks. - Add
isBytePrefixOfandisByteSuffixOf. - Add
replicateandreplicateU. - Add
Monoidinstance forBytes. - Add
singleton,doubleton,tripleton, and their unsliced variants. - Rename
copytounsafeCopy. - Add
fromLatinString. - Change the behavior of
fromAsciiStringto replace out-of-bounds codepoints with NUL. - Add
unsnocanduncons.
- Add
toLatinString. - Add
stripPrefix,stripSuffix,stripOptionalPrefix, andstripOptionalSuffix. - Add
takeWhileEndanddropWhileEnd. - Add
count. - Add an optimized
splitfunction. - Add
splitInit. - Add
splitFirst. - Add
copy. - Add
pin. - Add
touch. - Add
elem. - Add
unsafeIndex.
- Add
isPrefixOfandisSuffixOf. - Add
foldl,foldr,foldl', andfoldr'.
- Add
Data.Bytes.Mutablemodule. - Add
Data.Bytesmodule.
- Add record labels for Bytes and MutableBytes
- Add UnmanagedBytes. This is just an Addr and a length.
- First version.