CryptoSys PKI Pro Manual

cnvReverseBytes

Reverse the order of a byte array.

Syntax

[VBA]
Public Function cnvReverseBytes ( _
    lpInput() As Byte _
) As Byte()

Parameters

lpInput
Input data to be reversed.

Return Value

Byte(): Byte array in reverse order.

Example

Debug.Print cnvToHex(cnvReverseBytes(cnvFromHex("DEADBEEF")))
'EFBEADDE
[PREV: cnvNumToBytes...]   [Contents]   [Index]   
   [NEXT: cnvStringFromHexStr...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-06T00:43:03Z.