Skip to content

Commit 8a6cb39

Browse files
Organize export list of MutByteArray
1 parent eb429c5 commit 8a6cb39

File tree

1 file changed

+8
-2
lines changed
  • core/src/Streamly/Internal/Data/MutByteArray

1 file changed

+8
-2
lines changed

core/src/Streamly/Internal/Data/MutByteArray/Type.hs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ module Streamly.Internal.Data.MutByteArray.Type
1616
, getMutByteArray#
1717

1818
-- ** Helpers
19-
, unsafeByteCmp
2019
, touch
2120

2221
-- ** Pinning
@@ -34,12 +33,19 @@ module Streamly.Internal.Data.MutByteArray.Type
3433

3534
-- ** Access
3635
, length
36+
, unsafeAsPtr
37+
38+
-- ** Modify
3739
, unsafePutSlice
3840
, unsafePutPtrN
41+
42+
-- ** Copy
3943
, unsafeCloneSliceAs
4044
, unsafeCloneSlice
4145
, unsafePinnedCloneSlice -- XXX unsafeCloneSlice'
42-
, unsafeAsPtr
46+
47+
-- ** Compare
48+
, unsafeByteCmp
4349

4450
-- ** Capacity Management
4551
, blockSize

0 commit comments

Comments
 (0)