ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.io Namespace / BinaryDataInput Interface / readShort Method

In This Topic
    readShort Method (BinaryDataInput)
    In This Topic
    Should read a signed short (i.e., 16 bit) from the input. Prior to reading, the input should be realigned at the byte level.
    Syntax
    'Declaration
     
    
    Function readShort() As Short
    short readShort()

    Return Value

    The next byte-aligned signed short (16 bit) from the input.
    Exceptions
    ExceptionDescription
    If the end-of file was reached before getting all the necessary data.
    If an I/O error ocurred.
    See Also