Change endianness in bincode serde


#1

Somehow the example from https://docs.rs/bincode/1.0.1/bincode/index.html does not show how to use the Config struct properly. Seems like config has no way to create such an object… Or I don’t get it.

So how do I change, say little endianness to big endianness in the previous example?


#2

It’s hidden right here, in a separate function: https://docs.rs/bincode/1.*/bincode/fn.config.html