-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
This one's a difficult one:
class Inner(Structured, byte_order=ByteOrder.LE):
val: uint32
class Outer(Structured, byte_order=ByteOrder.BE):
inner: InnerHere when Outer is unpacked, its inner attribute still unpacks with Little-Endian byte order. We'll have to be careful about how we solve this, since the StructuredSerializer delegates to the Inner class itself, so we can't do a simple Inner.serializer.with_byte_order, otherwise we modify the class in place.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request