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