Reads an object of type UInt16 from the current stream and advances the stream position. This method reads directly from the underlying stream.

Namespace: Alachisoft.NCache.Runtime.Serialization.IO
Assembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public virtual ushort ReadUInt16()
Visual Basic
Public Overridable Function ReadUInt16 As UShort
Visual C++
public:
virtual unsigned short ReadUInt16()

Return Value

Type: UInt16
object read from the stream

See Also