Ribbon for WinForms | ComponentOne
C1.Util Namespace / FontSubSet.BigEndianBinaryReader Class / ReadUInt16 Method

In This Topic
    ReadUInt16 Method (FontSubSet.BigEndianBinaryReader)
    In This Topic
    Reads a 2-byte unsigned integer from the current stream using little-endian encoding and advances the position of the stream by two bytes.
    Syntax
    'Declaration
     
    
    Public Overrides Function ReadUInt16() As UShort
    public override ushort ReadUInt16()

    Return Value

    A 2-byte unsigned integer read from this stream.
    Exceptions
    ExceptionDescription
    The end of the stream is reached.
    The stream is closed.
    An I/O error occurs.
    See Also