def __init__(self, parent, name, description=None): GenericInteger.__init__(self, parent, name, False, 8, description) i = GenericInteger.createValue(self) if i == 0: raise ParserError('Invalid integer length!') while i < 0x80: self._size += 8 i <<= 1
def __init__(self, parent, name, description=None): size = parent['/trailer/objectRefSize'].value * 8 GenericInteger.__init__(self, parent, name, False, size, description)