ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.io Namespace / BEBufferedRandomAccessFile Class / writeShort Method
The value to write to the output

In This Topic
    writeShort Method (BEBufferedRandomAccessFile)
    In This Topic
    Writes the short value of v (i.e., 16 least significant bits) to the output. Prior to writing, the output should be realigned at the byte level.

    Signed or unsigned data can be written. To write a signed value just pass the short value as an argument. To write unsigned data pass the int value as an argument (it will be automatically casted, and only the 16 least significant bits will be written).

    Syntax
    'Declaration
     
    
    Public Overrides Sub writeShort( _
       ByVal v As Integer _
    ) 
    public override void writeShort( 
       int v
    )

    Parameters

    v
    The value to write to the output
    Exceptions
    ExceptionDescription
    If an I/O error ocurred.
    See Also