cborg-0.2.10.0: Concise Binary Object Representation (CBOR)
Copyright(c) Ben Gamari 2017-2018
LicenseBSD3-style (see LICENSE.txt)
Maintainerduncan@community.haskell.org
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
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

data SlicedByteArray Source #

Constructors

SBA 

Fields

Conversions

toByteString :: SlicedByteArray -> ByteString Source #

Note that this may require a copy.