reverse

open fun reverse(array: Array<Byte>): Array<Byte>

Reverses a byte[] array. Reverses in-place (thus provided array is mutated), but also returns same for convenience.

Return

the reversed array (mutated in-place, but also returned for convenience).

Since

1.5

Parameters

array

to reverse (mutated in-place, but also returned for convenience).