code
stringlengths
3
6.57k
self._io.pos()
self._io.pos()
range(self.bmrtmr_count)
append({'start': self._io.pos()
self._io.read_u4be()
self._io.pos()
self._io.pos()
self._io.pos()
range(self.bmrtmr_count)
append({'start': self._io.pos()
self._io.read_u4be()
self._io.pos()
self._io.pos()
has_bmr(self)
hasattr(self, '_m_has_bmr')
hasattr(self, '_m_has_bmr')
hasattr(self, '_m_has_bmr')
has_tmr(self)
hasattr(self, '_m_has_tmr')
hasattr(self, '_m_has_tmr')
hasattr(self, '_m_has_tmr')
tmrbnd_size(self)
hasattr(self, '_m_tmrbnd_size')
hasattr(self, '_m_tmrbnd_size')
hasattr(self, '_m_tmrbnd_size')
tpxcd_size(self)
hasattr(self, '_m_tpxcd_size')
hasattr(self, '_m_tpxcd_size')
if (self.tpxcdlnth % 8)
else (self.tpxcdlnth + (8 - (self.tpxcdlnth % 8)
hasattr(self, '_m_tpxcd_size')
total_size(self)
hasattr(self, '_m_total_size')
hasattr(self, '_m_total_size')
hasattr(self, '_m_total_size')
bmrbnd_size(self)
hasattr(self, '_m_bmrbnd_size')
hasattr(self, '_m_bmrbnd_size')
hasattr(self, '_m_bmrbnd_size')
bmrtmr_count(self)
hasattr(self, '_m_bmrtmr_count')
hasattr(self, '_m_bmrtmr_count')
int(self._parent.image_sub_header.num_blocks_per_row)
int(self._parent.image_sub_header.num_blocks_per_col)
else (int(self._parent.image_sub_header.num_bands)
int(self._parent.image_sub_header.num_bands)
int(self._parent.image_sub_header.num_multispectral_bands)
hasattr(self, '_m_bmrtmr_count')
GraphicsSegment(KaitaiStruct)
__init__(self, idx, _io, _parent=None, _root=None)
collections.defaultdict(dict)
_read(self)
self._io.pos()
self._root.GraphicSubHeader(self._io, self, self._root)
self.graphic_sub_header._read()
self._io.pos()
self._io.pos()
self._io.read_bytes(int(self._parent.header.lnnfo[self.idx].length_graphic_segment)
self._io.pos()
DataSubHeader(KaitaiStruct)
__init__(self, _io, _parent=None, _root=None)
collections.defaultdict(dict)
_read(self)
self._io.pos()
self._root.DataSubHeaderBase(self._io, self, self._root)
self.des_base._read()
self._io.pos()
self._io.pos()
self._io.read_bytes(6)
decode(u"UTF-8")
self._io.pos()
self._io.pos()
self._io.read_bytes(3)
decode(u"UTF-8")
self._io.pos()
self._io.pos()
self._io.read_bytes(4)
decode(u"UTF-8")
self._io.pos()
self._io.pos()
self._io.read_bytes(int(self.des_defined_subheader_fields_len)
decode(u"UTF-8")
self._io.pos()
self._io.pos()
self._io.read_bytes_full()
decode(u"UTF-8")
self._io.pos()
tre_ofl(self)
hasattr(self, '_m_tre_ofl')
hasattr(self, '_m_tre_ofl')
hasattr(self, '_m_tre_ofl')
DataExtensionSegment(KaitaiStruct)
__init__(self, idx, _io, _parent=None, _root=None)
collections.defaultdict(dict)
_read(self)
self._io.pos()
self._io.read_bytes(int(self._parent.header.ldnfo[self.idx].length_data_extension_subheader)
KaitaiStream(BytesIO(self._raw_data_sub_header)
self._root.DataSubHeader(_io__raw_data_sub_header, self, self._root)
self.data_sub_header._read()