UnmanagedMemoryAccessor.ReadChar(Int64) メソッド
定義
アクセサーから文字を読み取ります。Reads a character from the accessor.
public:
char ReadChar(long position);
public char ReadChar (long position);
member this.ReadChar : int64 -> char
Public Function ReadChar (position As Long) As Char
パラメーター
- position
- Int64
アクセサーの読み取り開始位置 (バイト数)。The number of bytes into the accessor at which to begin reading.
戻り値
読み取られた値。The value that was read.
例外
値を読み取るための position
の後のバイト数が不足しています。There are not enough bytes after position
to read a value.
position
が、0 未満か、アクセサーの容量を超えています。position
is less than zero or greater than the capacity of the accessor.
アクセサーが読み取りをサポートしていません。The accessor does not support reading.
アクセサーは破棄されています。The accessor has been disposed.