List of usage examples for java.nio CharBuffer order
public abstract ByteOrder order();
From source file:Main.java
public static void main(String[] args) { CharBuffer cb1 = CharBuffer.allocate(5); cb1.put(2, 'j'); cb1.rewind();// ww w .j a v a 2s. c o m System.out.println(cb1.order()); }