Ethers-rs uses big-endian types when instantiating its I256 type from a raw value with from_raw.

How do you reverse the endianness to get a little endian U256 type?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.