Java tutorial
import java.nio.LongBuffer; public class Main { public static void main(String[] args) { LongBuffer bb = LongBuffer.allocate(10); bb.put(0, 123L); System.out.println(bb.arrayOffset()); } }