public class ByteSwapper extends Object
Array
. Used to convert from one endian
type to another. The class swaps the following types:
Constructor and Description |
---|
ByteSwapper() |
Modifier and Type | Method and Description |
---|---|
static void |
swap(Object array)
Reverses the byte order of all elements in the supplied array, converting
between little and big endian byte order.
|
public static void swap(Object array)
array
- the input array for type sensitive byte swapping.