Fixed uninitialized pointer in ByteBuffer.