Example #1
0
 /// <summary>
 /// Clears the buffer.
 /// </summary>
 public unsafe void Clear(byte value = 0)
 {
     Utilities.ClearMemory((IntPtr)_buffer, value, Size);
 }
Example #2
0
 public unsafe void Clear(byte value = (byte)0)
 {
     Utilities.ClearMemory((IntPtr)((void *)this._buffer), value, this.Size);
 }