コード例 #1
0
    def two_max(self):
        if hasattr(self, '_m_two_max'):
            return self._m_two_max if hasattr(self, '_m_two_max') else None

        self._m_two_max = KaitaiStream.byte_array_max(self.two)
        return self._m_two_max if hasattr(self, '_m_two_max') else None
コード例 #2
0
    def one_max(self):
        if hasattr(self, '_m_one_max'):
            return self._m_one_max if hasattr(self, '_m_one_max') else None

        self._m_one_max = KaitaiStream.byte_array_max(self.one)
        return self._m_one_max if hasattr(self, '_m_one_max') else None