Expose pinnedSerialize & deserialize via Streamly.Data.Array
commit00b41429d0fa0f387ac82308f3d9819b2cfdfdbf
authorAdithya Kumar <adithya@composewell.com>
dateSat 16 Dec 2023, 00:01 (3 years ago)
parentb9b29b5
core/docs/Changelog.md+1
@@ -3,6 +3,7 @@
33## 0.2.1 (Dec 2023)
44
55* Make the serialization of the unit constructor deterministic.
6+* Expose `pinnedSerialize` & `deserialize` via `Streamly.Data.Array`.
67
78## 0.2.0 (Nov 2023)
89
core/src/Streamly/Data/Array.hs+6−2
@@ -83,16 +83,20 @@ module Streamly.Data.Array
8383 -- , (!!)
8484 , getIndex
8585
86+ -- * Serialization
87+ , pinnedSerialize
88+ , deserialize
89+
8690 -- * Re-exports
8791 , Unbox (..)
88−
92+ , Serialize(..)
8993 )
9094where
9195
9296#include "inline.hs"
9397
9498import Streamly.Internal.Data.Array
95−import Streamly.Internal.Data.Unbox (Unbox (..))
99+import Streamly.Internal.Data.MutByteArray (Unbox(..), Serialize(..))
96100
97101import Prelude hiding (read, length)
98102