dt: add helper to read 64-bit integers