on 79df417 help sign in
streamly/core/src/Streamly/Data/Serialize.hs
50 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 , Serialize(..)
21 , deriveSerialize
22 , deriveSerializeWith
24 -- * Encoding
25 , encode
26 , pinnedEncode
28 -- * Decoding
29 , decode
30 ) where
32--------------------------------------------------------------------------------
33-- Imports
34--------------------------------------------------------------------------------
36import Streamly.Internal.Data.Serialize
37 ( Serialize(..)
38 , decode
39 , encode
40 , pinnedEncode
41 )
42import Streamly.Internal.Data.Serialize.TH
43 ( deriveSerialize
44 , deriveSerializeWith
45 )
46import Streamly.Internal.Data.Unbox
47 ( MutableByteArray
48 , Unbox(..)
49 )
50import Streamly.Internal.Data.Unbox.TH (deriveUnbox, deriveUnboxWith)