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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

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.