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
Contents
Description
Synopsis
- newtype ByteArray = BA { }
- sizeofByteArray :: ByteArray -> Int
- fromShortByteString :: ShortByteString -> ByteArray
- toShortByteString :: ByteArray -> ShortByteString
- fromByteString :: ByteString -> ByteArray
- toBuilder :: ByteArray -> Builder
- toSliced :: ByteArray -> SlicedByteArray
Simple byte arrays
Instances
IsList ByteArray Source # | |
Eq ByteArray Source # | |
Ord ByteArray Source # | |
Defined in Codec.CBOR.ByteArray Methods compare :: ByteArray -> ByteArray -> Ordering Source # (<) :: ByteArray -> ByteArray -> Bool Source # (<=) :: ByteArray -> ByteArray -> Bool Source # (>) :: ByteArray -> ByteArray -> Bool Source # (>=) :: ByteArray -> ByteArray -> Bool Source # |
|
Show ByteArray Source # | |
IsString ByteArray Source # | |
Defined in Codec.CBOR.ByteArray Methods fromString :: String -> ByteArray Source # |
|
type Item ByteArray Source # | |
Defined in Codec.CBOR.ByteArray |
sizeofByteArray :: ByteArray -> Int Source #
Conversions
fromByteString :: ByteString -> ByteArray Source #
toSliced :: ByteArray -> SlicedByteArray Source #