def EnumString(parent, enum): return _Enum(String(parent), enum)
def Enum(parent, enum): return _Enum(GenericInteger(parent, 'enum', False, parent['size'].value*8), enum)
def lacing(self): return _Enum(Bits(self, 'lacing', 2), [ 'none', 'Xiph', 'fixed', 'EBML' ])
def Enum(parent, enum): return _Enum( GenericInteger(parent, 'enum', False, parent['size'].value * 8), enum)
def lacing(self): return _Enum(Bits(self, 'lacing', 2), ['none', 'Xiph', 'fixed', 'EBML'])