ComponentOne PDF for .NET
CSJ2K.j2k.codestream.reader Namespace / TagTreeDecoder Class / update Method
The vertical index of the element.
The horizontal index of the element.
The threshold to use in decoding. It must be non-negative.

In This Topic
    update Method (TagTreeDecoder)
    In This Topic
    Decodes information for the specified element of the tree, given the threshold, and updates its value. The information that can be decoded is whether or not the value of the element is greater than, or equal to, the value of the threshold.
    Syntax
    'Declaration
     
    
    Public Overridable Function update( _
       ByVal m As Integer, _
       ByVal n As Integer, _
       ByVal t As Integer, _
       ByVal in_Renamed As PktHeaderBitReader _
    ) As Integer
    public virtual int update( 
       int m,
       int n,
       int t,
       PktHeaderBitReader in_Renamed
    )

    Parameters

    m
    The vertical index of the element.
    n
    The horizontal index of the element.
    t
    The threshold to use in decoding. It must be non-negative.
    in_Renamed

    Return Value

    The updated value at position (m,n).
    Exceptions
    ExceptionDescription
    If an I/O error occurs while reading from 'in'.
    If the ned of the 'in' stream is reached before getting all the necessary data.
    See Also