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

In This Topic
    ReadInt16 Method (FontSubSet.BigEndianBinaryReader)
    In This Topic
    Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.
    Syntax
    'Declaration
     
    
    Public Overrides Function ReadInt16() As Short
    public override short ReadInt16()

    Return Value

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