Example usage for java.nio LongBuffer order

List of usage examples for java.nio LongBuffer order

Introduction

In this page you can find the example usage for java.nio LongBuffer order.

Prototype

public abstract ByteOrder order();

Source Link

Document

Returns the byte order used by this buffer when converting longs from/to bytes.

Usage

From source file:Main.java

public static void main(String[] args) {
    LongBuffer bb = LongBuffer.allocate(10);
    bb.put(100);//from  ww  w.j  a  v  a 2 s.c  o m
    System.out.println(bb.order());

}