HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulememory-0.18.0Haskell2010

Data.ByteArray.Mapping

  • 5 values
  • Packagememory-0.18.0
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceMapping.hs
valuetoW64BE :: ByteArrayAccess bs => bs -> Int -> BE Word64
#

Transform a bytearray at a specific offset into a Word64 tagged as BE (Big Endian)

no bounds checking. unsafe

valuetoW64LE :: ByteArrayAccess bs => bs -> Int -> LE Word64
#

Transform a bytearray at a specific offset into a Word64 tagged as LE (Little Endian)

no bounds checking. unsafe

valuemapAsWord64 :: ByteArray bs => (Word64 -> Word64) -> bs -> bs
#

map blocks of 64 bits of a bytearray, creating a new bytestring of equivalent size where each blocks has been mapped through f

no length checking is done. unsafe

valuemapAsWord128 :: ByteArray bs => (Word128 -> Word128) -> bs -> bs
#

map blocks of 128 bits of a bytearray, creating a new bytestring of equivalent size where each blocks has been mapped through f

no length checking is done. unsafe