cborg-0.2.0.0: Concise Binary Object Representation

Copyright(c) Ben Gamari 2017-2018
LicenseBSD3-style (see LICENSE.txt)
Maintainerduncan@community.haskell.org
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Codec.CBOR.ByteArray.Sliced

Contents

Description

A ByteArray with more instances than ByteArray. Some day when these instances are reliably available from primitive we can likely replace this with ByteArray.

Synopsis

Documentation

Conversions

toByteString :: SlicedByteArray -> ByteString Source #

Note that this may require a copy.