Store a ByteString in a fixed amount of space, truncating if necessary.
If the ByteString is not long enough to fill the space the remaining bytes are unchanged
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11
Modulevulkan-3.27GHC2021
Store a ByteString in a fixed amount of space, truncating if necessary.
If the ByteString is not long enough to fill the space the remaining bytes are unchanged
Store a ByteString in a fixed amount of space inserting a null character at the end and truncating if necessary.
If the ByteString is not long enough to fill the space the remaining bytes are unchanged
Note that if the ByteString is exactly long enough the last byte will still be replaced with 0
Peek a ByteString from a fixed sized array of bytes
Allocate a zero array with the size specified by the FixedArray
return type. Make sure to release the memory with free
Get the pointer to the first element in the array
A type restricted plusPtr
An unpopulated type intended to be used as in Ptr (FixedArray n a) to
indicate that the pointer points to an array of n as