[okteta] [Bug 367864] Specify Big or Little Endian for multi-byte structure primitives
https://bugs.kde.org/show_bug.cgi?id=367864 --- Comment #2 from Aaron Bishop --- my apologies, I don't know how I missed the byteOrder documentation. No need for another alias. -- You are receiving this mail because: You are watching all bug changes.
[okteta] [Bug 367864] Specify Big or Little Endian for multi-byte structure primitives
https://bugs.kde.org/show_bug.cgi?id=367864 Alex Richardson changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from Alex Richardson --- You can use to get the desired result. Or do you want to be able to have type aliases so that type="uint32-be" refers to that? That is not implemented yet and I'm not sure it makes sense. You could achieve that when using javascript structure definitions (https://userbase.kde.org/Okteta/Writing_structure_definitions): function uint32_be() { var ret = uint32() ret.byteOrder = "big-endian" return ret; } function init() { var mm_example = struct({foo: uint32_be()} return mm_example; } -- You are receiving this mail because: You are watching all bug changes.