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

        self._m_two_min = KaitaiStream.byte_array_min(self.two)
        return self._m_two_min if hasattr(self, '_m_two_min') else None
コード例 #2
0
    def one_min(self):
        if hasattr(self, '_m_one_min'):
            return self._m_one_min if hasattr(self, '_m_one_min') else None

        self._m_one_min = KaitaiStream.byte_array_min(self.one)
        return self._m_one_min if hasattr(self, '_m_one_min') else None