base-4.13.0.0: Basic libraries
Copyright(c) The University of Glasgow 1997-2002
Licensesee libraries/base/LICENSE
Maintainercvs-ghc@haskell.org
Stabilityinternal
Portabilitynon-portable (GHC Extensions)
Safe HaskellUnsafe
LanguageHaskell2010

GHC.Pack

Description

This module provides a small set of low-level functions for packing and unpacking a chunk of bytes. Used by code emitted by the compiler plus the prelude libraries.

The programmer level view of packed strings is provided by a GHC system library PackedString.

Documentation

packCString# :: [Char] -> ByteArray# Source #

unpackCString :: Ptr a -> [Char] Source #

unpackCString# :: Addr# -> [Char] #

unpackNBytes# :: Addr# -> Int# -> [Char] #

unpackFoldrCString# :: Addr# -> (Char -> a -> a) -> a -> a #

unpackAppendCString# :: Addr# -> [Char] -> [Char] #

AltStyle によって変換されたページ (->オリジナル) /