- Add
toByteString
andfromByteString
. - Add
fromShortByteString
. - Add
equalsLatin9
. - Add
toPinnedByteArray
,toPinnedByteArrayClone
, andconcatPinnedU
. - Add
toLowerAsciiByteArrayClone
.
- Add
fnv1a32
andfnv1a64
, implementations of the 32-bit and 64-bit variants of the FNV-1a hash algorithm, to bothData.Bytes
andData.Bytes.Chunks
. - Add
Data.Bytes.Chunks.null
. - Add
readFile
to bothData.Bytes
andData.Bytes.Chunks
. - Add
foldl'
toData.Bytes.Chunks
. - Add
split
toData.Bytes.Chunks
. - Add
splitStream
for splitting as a good stream-fusion producer. - Add
hPut
andwriteFile
toData.Bytes.Chunks
. - Add
fromCString#
. - Add
Bytes#
newtype on GHC 8.10 and up.
- Add
split4
. - Add
equalsCString
. - Add
stripCStringPrefix
. - Add
equalsLatin8
. - Add
emptyPinned
. - Add
concatPinned
toData.Bytes.Chunks
. - Add
any
andall
.
- Add
longestCommonPrefix
. - Fix broken
Ord
instance ofBytes
.
- Change behavior of
split
. This function previously had a special case for zero-length byte sequences to mirror the behaviorbytestring
's behavior. Now,split
returns a singleton list with the empty byte sequence in this case. - Add
splitNonEmpty
so that users who need to take advantage of the non-null guaranteesplit
provides can do so. - Add
splitU
andsplitInitU
for 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
splitOnce
tosplit1
. - Add
split2
andsplit3
. - Add
equalsLatin{1,2,3,4,5,6,7}
- Add
ifoldl'
. - Add
hGet
andhPut
. - Move
Data.Bytes.Chunks
fromsmall-bytearray-builder
tobyteslice
. - Rename
Data.Bytes.Chunks.concat
toconcatU
(the U means unsliced), and add a newconcat
that returnsBytes
. - Add
fromBytes
,fromByteArray
, andunsafeCopy
toData.Bytes.Chunks
. - Add
hGetContents
toData.Bytes.Chunks
. - Add
isBytePrefixOf
andisByteSuffixOf
. - Add
replicate
andreplicateU
. - Add
Monoid
instance forBytes
. - Add
singleton
,doubleton
,tripleton
, and their unsliced variants. - Rename
copy
tounsafeCopy
. - Add
fromLatinString
. - Change the behavior of
fromAsciiString
to replace out-of-bounds codepoints with NUL. - Add
unsnoc
anduncons
.
- Add
toLatinString
. - Add
stripPrefix
,stripSuffix
,stripOptionalPrefix
, andstripOptionalSuffix
. - Add
takeWhileEnd
anddropWhileEnd
. - Add
count
. - Add an optimized
split
function. - Add
splitInit
. - Add
splitFirst
. - Add
copy
. - Add
pin
. - Add
touch
. - Add
elem
. - Add
unsafeIndex
.
- Add
isPrefixOf
andisSuffixOf
. - Add
foldl
,foldr
,foldl'
, andfoldr'
.
- Add
Data.Bytes.Mutable
module. - Add
Data.Bytes
module.
- Add record labels for Bytes and MutableBytes
- Add UnmanagedBytes. This is just an Addr and a length.
- First version.