Example #1
0
def EnumString(parent, enum):
    return _Enum(String(parent), enum)
Example #2
0
def Enum(parent, enum):
    return _Enum(GenericInteger(parent, 'enum', False, parent['size'].value*8), enum)
Example #3
0
 def lacing(self):
     return _Enum(Bits(self, 'lacing', 2), [ 'none', 'Xiph', 'fixed', 'EBML' ])
Example #4
0
def EnumString(parent, enum):
    return _Enum(String(parent), enum)
Example #5
0
def Enum(parent, enum):
    return _Enum(
        GenericInteger(parent, 'enum', False, parent['size'].value * 8), enum)
Example #6
0
 def lacing(self):
     return _Enum(Bits(self, 'lacing', 2),
                  ['none', 'Xiph', 'fixed', 'EBML'])