This is a very convoluted way to convert a byte array to a pointer.