Add functions to read & write BE/LE value pointers