cborg-0.2.8.0: Concise Binary Object Representation (CBOR)
Copyright (c) Ben Gamari 2017-2018
License BSD3-style (see LICENSE.txt)
Maintainer duncan@community.haskell.org
Stability experimental
Portability non-portable (GHC extensions)
Safe Haskell None
Language Haskell2010

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 #

Instances

Instances details
IsList SlicedByteArray Source #
Instance details

Defined in Codec.CBOR.ByteArray.Sliced

Eq SlicedByteArray Source #
Instance details

Defined in Codec.CBOR.ByteArray.Sliced

Ord SlicedByteArray Source #
Instance details

Defined in Codec.CBOR.ByteArray.Sliced

Show SlicedByteArray Source #
Instance details

Defined in Codec.CBOR.ByteArray.Sliced

IsString SlicedByteArray Source #
Instance details

Defined in Codec.CBOR.ByteArray.Sliced

type Item SlicedByteArray Source #
Instance details

Defined in Codec.CBOR.ByteArray.Sliced

Conversions

toByteString :: SlicedByteArray -> ByteString Source #

Note that this may require a copy.