Table of Contents

Method Fill

Namespace
Zyl.ExSpans
Assembly
ExSpans.dll

Fill(void*, nuint, byte)

Copies the byte value to the first byteCount bytes of the memory located at ptr (将字节value复制到 ptr处起始、byteCount字节的内存块).

[CLSCompliant(false)]
public static void Fill(void* ptr, nuint byteCount, byte value)

Parameters

ptr void*

A pointer to the block of memory to fill (指向要填充的内存块的指针).

byteCount nuint

The number of bytes to be set to value (要设置为 value的字节数).

value byte

The value to be set (要设置的值).