HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

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