Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NByteReader Class / PeekBit Method


In This Topic
    PeekBit Method
    In This Topic
    Returns the bit at the given index in the current byte. Does not advance the reading position. Call the SkipByte method to advance the reading position when you finish reading bits from the current byte.
    Syntax
    'Declaration
     
    
    Public Function PeekBit( _
       ByVal bitIndex As System.Integer _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NByteReader
    Dim bitIndex As System.Integer
    Dim value As System.Boolean
     
    value = instance.PeekBit(bitIndex)
    public System.bool PeekBit( 
       System.int bitIndex
    )

    Parameters

    bitIndex
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also