on 313d178 help sign in
streamly/core/src/Streamly/Data/Serialize.hs
52 lines 1.1 kB history raw
1-- |
2-- Module : Streamly.Data.Serialize
3-- Copyright : (c) 2023 Composewell Technologies
4-- License : BSD3-3-Clause
5-- Maintainer : streamly@composewell.com
6-- Portability : GHC
7--
8module Streamly.Data.Serialize
9 (
11 -- * Types
12 MutableByteArray
14 -- * Unbox
15 , Unbox(..)
16 , deriveUnbox
17 , deriveUnboxWith
19 -- * Serialize
20 , Size(..)
21 , Serialize(..)
22 , deriveSerialize
23 , deriveSerializeWith
25 -- * Encoding
26 , encode
27 , pinnedEncode
29 -- * Decoding
30 , decode
31 ) where
33--------------------------------------------------------------------------------
34-- Imports
35--------------------------------------------------------------------------------
37import Streamly.Internal.Data.Serialize
38 ( Serialize(..)
39 , Size(..)
40 , decode
41 , encode
42 , pinnedEncode
43 )
44import Streamly.Internal.Data.Serialize.TH
45 ( deriveSerialize
46 , deriveSerializeWith
47 )
48import Streamly.Internal.Data.Unbox
49 ( MutableByteArray
50 , Unbox(..)
51 )
52import Streamly.Internal.Data.Unbox.TH (deriveUnbox, deriveUnboxWith)