ComponentOne PDF for .NET
CSJ2K.j2k.io Namespace / BEBufferedRandomAccessFile Class / readShort Method

In This Topic
    readShort Method (BEBufferedRandomAccessFile)
    In This Topic
    Reads a signed short (i.e. 16 bit) from the input. Prior to reading, the input should be realigned at the byte level.
    Syntax
    'Declaration
     
    
    Public Overrides Function readShort() As Short
    public override 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