Results 82 comments of Zoxc

I made it take `usize` because this library seem to prefer typical Rust types when possible. An additional variant which uses a pointer would also make sense. The offset variant...

I used this function [here](https://github.com/gfx-rs/wgpu/pull/4267) and tested it with `wgpu_profiler`.