Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NBitConverter Class / GetReversedArray Method


In This Topic
    GetReversedArray Method
    In This Topic
    Copies the given bytes, reverses their order (the last comes first) and returns the resulting byte array.
    Syntax
    'Declaration
     
    
    Public Shared Function GetReversedArray( _
       ByVal array() As System.Byte, _
       ByVal startIndex As System.Integer, _
       ByVal count As System.Integer _
    ) As System.Byte()
    'Usage
     
    
    Dim array() As System.Byte
    Dim startIndex As System.Integer
    Dim count As System.Integer
    Dim value() As System.Byte
     
    value = NBitConverter.GetReversedArray(array, startIndex, count)
    public static System.byte[] GetReversedArray( 
       System.byte[] array,
       System.int startIndex,
       System.int count
    )

    Parameters

    array
    startIndex
    count
    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