separate uint32_t/uint64_t/otherwise for read