def getLengths(self): """Get all valid lengths""" return [l / 8 for l in getHeaderLengths(self.hdr)[1]]
def __init__(self, hdr, inst): super(HeaderNode, self).__init__(hdr, inst, min(getHeaderLengths(hdr)[1]) / 8) self._processLen = None