https://bugs.kde.org/show_bug.cgi?id=367864

Alex Richardson <arichardson....@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Alex Richardson <arichardson....@gmail.com> ---
You can use <primitive type="uint32" byteOrder="big-endian"\> 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.

Reply via email to