Method Fill
Fill(IntPtr, byte, int)
Copies the fillByte
into each of the first count bytes of the object
pointed to by dest
.
public static IntPtr Fill(IntPtr dest, byte fillByte, int count)
Parameters
dest
nintPointer to the object to fill.
fillByte
byteFill byte (0..255).
count
intNumber of bytes to fill.
Returns
- nint
dest
Remarks
If the object is a potentially-overlapping subobject
or is not trivially copyable, the behavior is undefined.
If count
is greater
than the size of the object pointed to by dest, the behavior is undefined.