Memory Accessor. Read UInt16(Int64) 方法
此 API 不符合 CLS。
- 符合 CLS 的替代方案
从访问器读取一个 16 位无符号整数。Reads an unsigned 16-bit integer from the accessor.
public: System::UInt16 ReadUInt16(long position);
[System.CLSCompliant(false)] public ushort ReadUInt16 (long position);
[<System.CLSCompliant(false)>] member this.ReadUInt16 : int64 -> uint16
Public Function ReadUInt16 (position As Long) As UShort
访问器中起始读取位置的字节偏移量。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 is less than zero or greater than the capacity of the accessor.
访问器不支持读取。The accessor does not support reading.
已释放访问器。The accessor has been disposed.