assertEquals("ShortBuffer Pointer does not match",
p, Native.getDirectBufferPointer(b.asShortBuffer()));
assertEquals("IntBuffer Pointer does not match",
p, Native.getDirectBufferPointer(b.asIntBuffer()));
assertEquals("LongBuffer Pointer does not match",
p, Native.getDirectBufferPointer(b.asLongBuffer()));
assertEquals("FloatBuffer Pointer does not match",
p, Native.getDirectBufferPointer(b.asFloatBuffer()));
assertEquals("DoubleBuffer Pointer does not match",
p, Native.getDirectBufferPointer(b.asDoubleBuffer()));