reverseBytes

Returns the value obtained by reversing the order of the bytes in the two's complement representation of the specified int value.

Return

the value obtained by reversing the bytes in the specified int value.

Since

1.5

Parameters

i

the value whose bytes are to be reversed


Returns the value obtained by reversing the order of the bytes in the two's complement representation of the specified long value.

Return

the value obtained by reversing the bytes in the specified long value.

Since

1.5

Parameters

i

the value whose bytes are to be reversed


Returns the value obtained by reversing the order of the bytes in the two's complement representation of the specified short value.

Return

the value obtained by reversing (or, equivalently, swapping) the bytes in the specified short value.

Since

1.5

Parameters

i

the value whose bytes are to be reversed