HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulememory-0.18.0Haskell2010

Data.Memory.Encoding.Base16

Low-level Base16 encoding and decoding.

If you just want to encode or decode some bytes, you probably want to use the Data.ByteArray.Encoding module.

Synopsis
  • Packagememory-0.18.0
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceBase16.hs
valuetoHexadecimal
  1. :: Ptr Word8

    destination memory

  2. -> Ptr Word8

    source memory

  3. -> Int

    number of bytes

  4. -> IO ()

Transform a number of bytes pointed by.src in the hexadecimal binary representation in dst

destination memory need to be of correct size, otherwise it will lead to really bad things.