MemoryMappedViewAccessor: ReadInt16

ReadInt16

Reads a 16-bit integer from the accessor.



 Public Function ReadInt16(
	  ByVal Position As Long ) As Integer

Parameters

Position
[ByVal] Long. The number of bytes into the accessor at which to begin reading.

Return Values

Integer -  The value that was read.

Exceptions

Exception Condition
ArgumentExceptionThere are not enough bytes after Position to read a value.
ArgumentOutOfRangeExceptionPosition is less than zero or greater than the capacity of the accessor.
NotSupportedExceptionThe accessor does not support reading.

See Also

Project CorLib Overview

Class MemoryMappedViewAccessor Overview