class Struct2(Structure): s = StructureField(Struct1)
class UFLSStructure(Structure): s = StructureField(UnlimitedFixedLengthStructure, length=5)
class StructureThatSkips(Structure): s = StructureField(ShortStructure, length=5) text = FixedLengthField(length=3)
class Struct2(Structure): length = IntegerField(length=1, override=lambda c, v: len(c.s2.b)) s2 = StructureField(Struct1)
class Struct2(Structure): s1 = StructureField(Struct1) s2 = StructureField(Struct1)
class ConditionalStructure(Structure): value = ConditionalField(StructureField(X), condition=True)
class S(Structure): o = FixedLengthField(length=2) a = StructureField(Inner) class Meta: capture_raw = True
class S(Structure): a = StructureField(Inner) class Meta: capture_raw = True