Accord.SystemTools.SetUnmanagedMemory C# (CSharp) Method

SetUnmanagedMemory() public static method

Fill memory region with specified value.
public static SetUnmanagedMemory ( IntPtr dst, int filler, int count ) : IntPtr
dst System.IntPtr Destination pointer.
filler int Filler byte's value.
count int Memory block's length to fill.
return System.IntPtr
        public static IntPtr SetUnmanagedMemory(IntPtr dst, int filler, int count)
        {
            unsafe
            {
                SetUnmanagedMemory((byte*)dst.ToPointer(), filler, count);
            }
            return dst;
        }

Same methods

SystemTools::SetUnmanagedMemory ( byte dst, int filler, int count ) : byte*