Java ByteOrder.toString()
Syntax
ByteOrder.toString() has the following syntax.
public String toString()
Example
In the following code shows how to use ByteOrder.toString() method.
//from www . j av a2 s . c o m
import java.nio.ByteOrder;
public class Main {
public static void main(String[] argv) throws Exception {
System.out.println(ByteOrder.BIG_ENDIAN.toString());
}
}
The code above generates the following result.