org.python.core.util
Class ByteSwapper
- java.lang.Object
-
- org.python.core.util.ByteSwapper
-
public class ByteSwapper extends java.lang.ObjectSimple class that provides the capability to swap or reverse the byte order of all elements of anArray. Used to convert from one endian type to another. The class swaps the following types:- short
- integer
- long
- float
- double
-
-
Constructor Summary
Constructors Constructor and Description ByteSwapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidswap(java.lang.Object array)Reverses the byte order of all elements in the supplied array, converting between little and big endian byte order.
-
DMelt 3.0 © DataMelt by jWork.ORG