UnmanagedMemoryAccessor.ReadDecimal(Int64) 方法

定义

从访问器读取十进制值。

public:
 System::Decimal ReadDecimal(long position);
public decimal ReadDecimal(long position);
member this.ReadDecimal : int64 -> decimal
Public Function ReadDecimal (position As Long) As Decimal

参数

position
Int64

访问器中开始读取的字节数。

返回

读取的值。

例外

读取值后 position 没有足够的字节。

-或-

要读取的十进制值无效。

position 小于零或大于访问器的容量。

访问器不支持读取。

已释放访问器。

适用于