2 writes to _buffer
mscorlib (2)
system\io\binarywriter.cs (2)
62
_buffer
= new byte[16];
86
_buffer
= new byte[16];
55 references to _buffer
mscorlib (55)
system\io\binarywriter.cs (55)
143
_buffer
[0] = (byte) (value ? 1 : 0);
144
OutStream.Write(
_buffer
, 0, 1);
198
fixed(byte * pBytes =
_buffer
) {
199
numBytes = _encoder.GetBytes(&ch, 1, pBytes,
_buffer
.Length, true);
201
OutStream.Write(
_buffer
, 0, numBytes);
238
_buffer
[0] = (byte) TmpValue;
239
_buffer
[1] = (byte) (TmpValue >> 8);
240
_buffer
[2] = (byte) (TmpValue >> 16);
241
_buffer
[3] = (byte) (TmpValue >> 24);
242
_buffer
[4] = (byte) (TmpValue >> 32);
243
_buffer
[5] = (byte) (TmpValue >> 40);
244
_buffer
[6] = (byte) (TmpValue >> 48);
245
_buffer
[7] = (byte) (TmpValue >> 56);
246
OutStream.Write(
_buffer
, 0, 8);
251
Decimal.GetBytes(value,
_buffer
);
252
OutStream.Write(
_buffer
, 0, 16);
260
_buffer
[0] = (byte) value;
261
_buffer
[1] = (byte) (value >> 8);
262
OutStream.Write(
_buffer
, 0, 2);
271
_buffer
[0] = (byte) value;
272
_buffer
[1] = (byte) (value >> 8);
273
OutStream.Write(
_buffer
, 0, 2);
281
_buffer
[0] = (byte) value;
282
_buffer
[1] = (byte) (value >> 8);
283
_buffer
[2] = (byte) (value >> 16);
284
_buffer
[3] = (byte) (value >> 24);
285
OutStream.Write(
_buffer
, 0, 4);
294
_buffer
[0] = (byte) value;
295
_buffer
[1] = (byte) (value >> 8);
296
_buffer
[2] = (byte) (value >> 16);
297
_buffer
[3] = (byte) (value >> 24);
298
OutStream.Write(
_buffer
, 0, 4);
306
_buffer
[0] = (byte) value;
307
_buffer
[1] = (byte) (value >> 8);
308
_buffer
[2] = (byte) (value >> 16);
309
_buffer
[3] = (byte) (value >> 24);
310
_buffer
[4] = (byte) (value >> 32);
311
_buffer
[5] = (byte) (value >> 40);
312
_buffer
[6] = (byte) (value >> 48);
313
_buffer
[7] = (byte) (value >> 56);
314
OutStream.Write(
_buffer
, 0, 8);
323
_buffer
[0] = (byte) value;
324
_buffer
[1] = (byte) (value >> 8);
325
_buffer
[2] = (byte) (value >> 16);
326
_buffer
[3] = (byte) (value >> 24);
327
_buffer
[4] = (byte) (value >> 32);
328
_buffer
[5] = (byte) (value >> 40);
329
_buffer
[6] = (byte) (value >> 48);
330
_buffer
[7] = (byte) (value >> 56);
331
OutStream.Write(
_buffer
, 0, 8);
341
_buffer
[0] = (byte) TmpValue;
342
_buffer
[1] = (byte) (TmpValue >> 8);
343
_buffer
[2] = (byte) (TmpValue >> 16);
344
_buffer
[3] = (byte) (TmpValue >> 24);
345
OutStream.Write(
_buffer
, 0, 4);