HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleram-0.22.1Haskell2010

Data.ByteArray.Mapping

Synopsis
  • Packageram-0.22.1
  • 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