Integer.reverseBytes

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

@param i the value whose bytes are to be reversed @return the value obtained by reversing the bytes in the specified {@code int} value.

class Integer
static
int
reverseBytes
(
int i
)

Meta