serialise-0.2.6.0: A binary serialisation library for Haskell values.
Copyright(c) Duncan Coutts 2015-2017
LicenseBSD3-style (see LICENSE.txt)
Maintainerduncan@community.haskell.org
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.Serialise.Encoding

Description

High level API for encoding values, for later serialization into CBOR binary format, using a Monoid based interface.

Synopsis

Encoding implementation

newtype Encoding #

Constructors

Encoding (Tokens -> Tokens) 

Instances

Instances details
Monoid Encoding 
Instance details

Defined in Codec.CBOR.Encoding

Semigroup Encoding 
Instance details

Defined in Codec.CBOR.Encoding

Show Encoding 
Instance details

Defined in Codec.CBOR.Encoding

Encoding API for serialisation

encodeByteArray :: SlicedByteArray -> Encoding #

encodeUtf8ByteArray :: SlicedByteArray -> Encoding #