foundation-edge-0.0.3: foundation's edge with the conventional set of packages

LicenseBSD-style
MaintainerFoundation
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Foundation.Compat.ByteString

Description

Module to convert bytestring's ByteString type

Synopsis

Documentation

fromByteString :: ByteString -> UArray Word8 Source #

Convert a ByteString to a UArray Word8, without re-allocating or copying anything

toByteString :: UArray Word8 -> ByteString Source #

Convert a UArray Word8 to ByteString

all the bytes are copied to a brand new memory chunk