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
- data SlicedByteArray = SBA { }
- sizeofSlicedByteArray :: SlicedByteArray -> Int
- fromShortByteString :: ShortByteString -> SlicedByteArray
- fromByteString :: ByteString -> SlicedByteArray
- fromByteArray :: ByteArray -> SlicedByteArray
- toByteString :: SlicedByteArray -> ByteString
- toBuilder :: SlicedByteArray -> Builder
Documentation
data SlicedByteArray Source #
Instances
Conversions
toByteString :: SlicedByteArray -> ByteString Source #
Note that this may require a copy.
toBuilder :: SlicedByteArray -> Builder Source #