Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Binrep.Generic
Synopsis
Documentation
nullTermCstrPfxTag :: String -> NullTerminated ByteString Source #
reallyUnsafeRefine : safe assuming Haskell constructor names are UTF-8 with no null bytes allowed
Turn a constructor name into a prefix tag by adding a null terminator.
Not common in binary data representations, but safe and useful for debugging.