Table of Contents

Method Fill

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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 nint

Pointer to the object to fill.

fillByte byte

Fill byte (0..255).

count int

Number 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.