18 references to ReadByte
PresentationCore (1)
System\Windows\Media\Imaging\PropVariant.cs (1)
498array[i] = (sbyte) Marshal.ReadByte(ca.pElems, i);
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
125value = Marshal.ReadByte(ptr, offset);
System.Drawing.Common.Tests (15)
mono\System.Drawing\BitmapTests.cs (8)
421pixel_data[dest_offset + x] = Marshal.ReadByte(src_ptr, x); 683pixel_value = Marshal.ReadByte(data.Scan0, 0); 684pixel_value |= Marshal.ReadByte(data.Scan0, 1) << 8; 685pixel_value |= Marshal.ReadByte(data.Scan0, 2) << 16; 686pixel_value |= Marshal.ReadByte(data.Scan0, 3) << 24; 736byte b = Marshal.ReadByte(data.Scan0, 0); 737byte g = Marshal.ReadByte(data.Scan0, 1); 738byte r = Marshal.ReadByte(data.Scan0, 2);
System\Drawing\BitmapTests.cs (7)
1477int pixelValue = Marshal.ReadByte(data.Scan0, 0); 1478pixelValue |= Marshal.ReadByte(data.Scan0, 1) << 8; 1479pixelValue |= Marshal.ReadByte(data.Scan0, 2) << 16; 1480pixelValue |= Marshal.ReadByte(data.Scan0, 3) << 24; 1530byte b = Marshal.ReadByte(data.Scan0, 0); 1531byte g = Marshal.ReadByte(data.Scan0, 1); 1532byte r = Marshal.ReadByte(data.Scan0, 2);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
301public static byte ReadByte(IntPtr ptr) => ReadByte(ptr, 0);