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 |
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 |
|
Show ByteArray Source # | |
IsString ByteArray Source # | |
Defined in Codec.CBOR.ByteArray 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 #