For example https://doc.rust-lang.org/std/primitive.u64.html#method.to_bytes The method is now called {to,from}_{le,be,ne}_bytes and the current tracking issue seems to be #52963