NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Marshal.ReadByte (Object, Int32)

Reads a single byte from native heap

[Visual Basic]
Overloads extern Public Shared Function ReadByte( _
   ByVal ptr As Object, _
   ByVal ofs As Integer _
) As Byte
[C#]
public static extern byte ReadByte(
   in object ptr,
   int ofs
);
[C++]
public: static extern unsigned char ReadByte(
   __in Object* ptr,
   int ofs
);
[JScript]
public static extern function ReadByte(
   in ptr : Object,
   ofs : int
) : Byte;

Parameters

ptr
Base address in native heap of source object.
ofs
Additional byte offset, added to ptr before reading.

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace | Marshal.ReadByte Overload List