Επεξεργασία

Κοινή χρήση μέσω


UnmanagedMemoryAccessor.ReadByte(Int64) Method

Definition

Reads a byte value from the accessor.

public:
 System::Byte ReadByte(long position);
public byte ReadByte (long position);
member this.ReadByte : int64 -> byte
Public Function ReadByte (position As Long) As Byte

Parameters

position
Int64

The number of bytes into the accessor at which to begin reading.

Returns

The value that was read.

Exceptions

There are not enough bytes after position to read a value.

position is less than zero or greater than the capacity of the accessor.

The accessor does not support reading.

The accessor has been disposed.

Applies to