Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module with binary instances for data types defined in fixed vector
Synopsis
- encodeFixedVector :: (Vector v a, Serialise a) => v a -> Encoding
- decodeFixedVector :: forall v s a. (Vector v a, Serialise a) => Decoder s (v a)
Documentation
encodeFixedVector :: (Vector v a, Serialise a) => v a -> Encoding Source #
Encode vector with statically known size as CBOR list. There's no type tag
decodeFixedVector :: forall v s a. (Vector v a, Serialise a) => Decoder s (v a) Source #
Decode vector with statically known size as CBOR list. There's no type tag
Orphan instances
Serialise a => Serialise (Only a) Source # | |
(Unbox n a, Serialise a) => Serialise (Vec n a) Source # | |
(Arity n, Storable a, Serialise a) => Serialise (Vec n a) Source # | |
(Arity n, Prim a, Serialise a) => Serialise (Vec n a) Source # | |
(Arity n, Serialise a) => Serialise (Vec n a) Source # | |
(Arity n, Serialise a) => Serialise (VecList n a) Source # | |
Serialise (Empty a) Source # | |