Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Of course in C you can get a pointer to the value and iterate over the raw bytes in memory to print them one at a time, but that's above and beyond just using %x. The easiest way to do this in Rust that I can think of is by using the byteorder crate.
i have written a document talking about how this works for the integer types here and talk in even more excruciating depth about the problems involved in translating the contents of the memory bus into human-understandable digit sequences here
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- bitcode 0.4 release - binary serialization format
- An optimized replacement of the infamous std::vector<🅱️ool>
- You need to stop idolizing programming languages.
- bit-twiddling tricks. It's the perfect example of Rust's no-compromises "ergonomics AND speed AND correctness" ideals
- An Armful of CHERIs: Memory Safety in the processor. Do we still need safe languages with CHERI?