Copyright | (c) Duncan Coutts 2015-2017 |
---|---|
License | BSD3-style (see LICENSE.txt) |
Maintainer | duncan@community.haskell.org |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Tools for writing out CBOR
values in
a variety of forms.Encoding
Synopsis
- toBuilder :: Encoding -> Builder
- toLazyByteString :: Encoding -> ByteString
- toStrictByteString :: Encoding -> ByteString
Documentation
Turn an
into a Encoding
ByteString
in CBOR
binary format.Builder
Since: cborg-0.2.0.0
:: Encoding | The |
-> ByteString | The encoded CBOR value. |
Turn an
into a lazy Encoding
in CBOR binary
format.ByteString
Since: cborg-0.2.0.0
:: Encoding | The |
-> ByteString | The encoded value. |
Turn an
into a strict Encoding
in CBOR binary
format.ByteString
Since: cborg-0.2.0.0