@lanodan @chjara @clacke In short, I'd like for the conversion routines to be only written in *one* place and then I can simply declare new variables without needing to remember to convert that variable again in the parser/serializer
e.g if I have a struct like:
struct a {
BigEndian<uint32_t> c1;
}
And I want to add another data into it, like:
struct a {
BigEndian<uint32_t> c1;
BigEndian<uint32_t> c2;
}
I don't want to have to not forget to add conversion calls when handling c2 :02lurk: