| License | BSD-style |
|---|---|
| Maintainer | Vincent Hanquez <vincent@snarc.org> |
| Stability | experimental |
| Portability | unknown |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Memory.Encoding.Base16
Description
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.
Documentation
Arguments
| :: (forall a. (Ptr Word8 -> IO a) -> IO a) | a |
| -> Int | length in bytes |
| -> String |
Transform a raw memory to an hexadecimal String
user beware, no checks are made
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.