HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Modulememory-0.18.0Haskell2010

Data.ByteArray.Mapping

Synopsis
  • Packagememory-0.18.0
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceMapping.hs
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