Mingun

Results 662 comments of Mingun

Use ```yaml ... instances: little_endian: pos: ... size: 4 ```

It seems that `version` and `big_endian` fields are always writted in BE endianness, so you can explicitly use corresponding type. Try to use something like this: ```yaml meta: id: metadata...

You also can parse `version` as `u4be`, but _check_ it against the numbers written both in BE and LE formats. This should be more performant than comparing byte arrays: ```yaml...

If `@` symbol is not used (it seems so) then I think it is good alternative which is notisable enough without creating too much visual noise. That symbol is used...

If introduce new attribute it would be better do the following: - introduce new trait to mark types that can be flatten into other types. I thought for a long...

> "Cast" is pretty vague No more than `static_cast`, `const_cast` or `reinterpret_cast` from C++. Compare: ```c++ // C++ enum Enum { ... } int data; // cast from type of...

@generalmimon, what is your conclusion?

> So quite low priority for me - nice to have, but at least a few dozens of things come before this. I can try to look at this myself...