Fill a given number of bytes in memory area with a byte value.
Modulebase-compat-0.14.1Haskell2010
Foreign.Marshal.Utils.Compat
- 12 values
- Packagebase-compat-0.14.1
- Exports12
- LanguageHaskell2010
- LicenceMIT
- SourceUtils.hs
Copies the given number of bytes from the second area (source) into the first (destination); the copied areas may not overlap
Convert a Haskell Bool to its numeric representation
Copies the given number of bytes from the second area (source) into the first (destination); the copied areas may overlap
Convert a Boolean in numeric representation to a Haskell value
with val f executes the computation f, passing as argument
a pointer to a temporarily allocated block of memory into which
val has been marshalled (the combination of alloca and poke).
The memory is freed when f terminates (either normally or via an
exception), so the pointer passed to f must not be used after this.
Replicates a withXXX combinator over a list of objects, yielding a list of
marshalled objects
Fill a given number of bytes in memory area with a byte value.