Add 'fillBytes' to Foreign.Marshal.Utils.
fillBytes uses 'memset' to fill a memory area with a given byte value.
Reviewed By: austin, hvr
Differential Revision: https://phabricator.haskell.org/D465
hvr | Nov 21 2014, 1:49 PM |
bgamari | Aug 25 2016, 1:39 PM |