1 write to buffer
WindowsBase (1)
Shared\MS\Win32\NativeMethodsCLR.cs (1)
6174
buffer
= new byte[size];
14 references to buffer
WindowsBase (14)
Shared\MS\Win32\NativeMethodsCLR.cs (14)
6179
get { return
buffer
.Length; }
6184
IntPtr result = Marshal.AllocCoTaskMem(
buffer
.Length);
6185
Marshal.Copy(
buffer
, 0, result,
buffer
.Length);
6193
while (i <
buffer
.Length &&
buffer
[i] != 0)
6196
string result = Encoding.Default.GetString(
buffer
, offset, i - offset);
6198
if (i <
buffer
.Length)
6208
Marshal.Copy(ptr,
buffer
, 0,
buffer
.Length);
6215
int count = Math.Min(bytes.Length,
buffer
.Length - offset);
6217
Array.Copy(bytes, 0,
buffer
, offset, count);
6220
if (offset <
buffer
.Length)
6221
buffer
[offset++] = 0;