UnmanagedMemoryAccessor.ReadSByte(Int64) UnmanagedMemoryAccessor.ReadSByte(Int64) UnmanagedMemoryAccessor.ReadSByte(Int64) UnmanagedMemoryAccessor.ReadSByte(Int64) Method

Definition

Important

This API is not CLS-compliant.

CLS-compliant alternative
System.Int16

Reads an 8-bit signed integer from the accessor.

public:
 System::SByte ReadSByte(long position);
[System.CLSCompliant(false)]
public sbyte ReadSByte (long position);
member this.ReadSByte : int64 -> sbyte
Public Function ReadSByte (position As Long) As SByte

Parameters

position
Int64 Int64 Int64 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.

Applies to