How to format a byte into a 2 digit hex string, in Rust [duplicate]
As documented in the std::fmt module: # – This flag is indicates that the “alternate” form of printing should be used. The alternate forms are: #x – precedes the argument with a 0x #X – precedes the argument with a 0x This interacts with the request width, because the width accounts for the whole substitution … Read more