DirectByteBuffer implementation for #1