1 write to buffer
System.Windows.Forms (1)
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
6539
buffer
= new byte[size];
13 references to buffer
System.Windows.Forms (13)
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (13)
6544
IntPtr result = Marshal.AllocCoTaskMem(
buffer
.Length);
6545
Marshal.Copy(
buffer
, 0, result,
buffer
.Length);
6552
while (i <
buffer
.Length &&
buffer
[i] != 0)
6554
string result = Encoding.Default.GetString(
buffer
, offset, i - offset);
6555
if (i <
buffer
.Length)
6563
Marshal.Copy(ptr,
buffer
, 0,
buffer
.Length);
6570
int count = Math.Min(bytes.Length,
buffer
.Length - offset);
6571
Array.Copy(bytes, 0,
buffer
, offset, count);
6573
if (offset <
buffer
.Length)
buffer
[offset++] = 0;