- 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
replicate
andreplicateByte
toData.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
Show
instances forBytesN
andByteArrayN
. - Add
equalsCStringCaseInsensitive
for ascii text.
- Add
toShortText
,toShortTextU
, andtoText
toData.Byte.Text.Ascii
. - Add
fromShortText
andfromText
toData.Bytes.Text.Utf8
.
- Add
Data.Bytes.replace
andData.Bytes.findIndices
- Add
Data.Bytes.fromShortText
- Add
Data.Bytes.fromPrimArray
- Add
decodeDecWord
- Add
concatArray
andconcatArrayU
.
- Add support for GHC 9.2.
- Drop support for GHC 8.8 and earlier.
- Add
foldlM
andfoldrM
for mondic folds over byte sequences.
- Add
BytesN
andByteArrayN
. - Add
isInfixOf
. - Add
hForLines_
andhFoldLines
. - Add
lift
andunlift
for converting betweenBytes
andBytes#
. - 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
pinnedToByteString
to end users.
- Add
toByteString
andfromByteString
. - Add
fromShortByteString
. - Add
equalsLatin(9|10|11|12)
. - Add
toPinnedByteArray
,toPinnedByteArrayClone
, andconcatPinnedU
. - Add
toLowerAsciiByteArrayClone
. - Add
intercalateByte2
. - Add
splitEnd1
.
- 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.