code stringlengths 3 6.57k |
|---|
ImageSegment(KaitaiStruct) |
__init__(self, idx, _io, _parent=None, _root=None) |
collections.defaultdict(dict) |
_read(self) |
self._io.pos() |
self._root.ImageSubHeader(self._io, self, self._root) |
self.image_sub_header._read() |
self._io.pos() |
self._io.pos() |
self._root.ImageDataMask(self._io, self, self._root) |
self.image_data_mask._read() |
self._io.pos() |
self._io.pos() |
self._io.read_bytes((int(self._parent.header.linfo[self.idx].length_image_segment) |
self._io.pos() |
has_mask(self) |
hasattr(self, '_m_has_mask') |
hasattr(self, '_m_has_mask') |
or (self.image_sub_header.img_compression[1:2] == u"M") |
hasattr(self, '_m_has_mask') |
TextSegment(KaitaiStruct) |
__init__(self, idx, _io, _parent=None, _root=None) |
collections.defaultdict(dict) |
_read(self) |
self._io.pos() |
self._io.read_bytes(1) |
self._io.pos() |
self._io.pos() |
self._io.read_bytes(int(self._parent.header.ltnfo[self.idx].length_text_segment) |
self._io.pos() |
GraphicSubHeader(KaitaiStruct) |
__init__(self, _io, _parent=None, _root=None) |
collections.defaultdict(dict) |
_read(self) |
self._io.pos() |
self._io.read_bytes(2) |
self._io.pos() |
kaitaistruct.ValidationNotEqualError(b"\x53\x59", self.file_part_type_sy, self._io, u"/types/graphic_sub_header/seq/0") |
self._io.pos() |
self._io.read_bytes(10) |
decode(u"UTF-8") |
self._io.pos() |
self._io.pos() |
self._io.read_bytes(20) |
decode(u"UTF-8") |
self._io.pos() |
self._io.pos() |
self._root.Clasnfo(self._io, self, self._root) |
self.graphic_classification._read() |
self._io.pos() |
self._io.pos() |
self._root.Encrypt(self._io, self, self._root) |
self.encryption._read() |
self._io.pos() |
self._io.pos() |
self._io.read_bytes(1) |
self._io.pos() |
kaitaistruct.ValidationNotEqualError(b"\x43", self.graphic_type, self._io, u"/types/graphic_sub_header/seq/5") |
self._io.pos() |
self._io.read_bytes(13) |
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(3) |
decode(u"UTF-8") |
self._io.pos() |
self._io.pos() |
self._io.read_bytes(10) |
decode(u"UTF-8") |
self._io.pos() |
self._io.pos() |
self._io.read_bytes(10) |
decode(u"UTF-8") |
self._io.pos() |
self._io.pos() |
self._io.read_bytes(1) |
decode(u"UTF-8") |
self._io.pos() |
self._io.pos() |
self._io.read_bytes(10) |
decode(u"UTF-8") |
self._io.pos() |
self._io.pos() |
self._io.read_bytes(2) |
decode(u"UTF-8") |
self._io.pos() |
self._io.pos() |
self._root.TreHeader(self._io, self, self._root) |
self.graphics_extended_sub_header._read() |
self._io.pos() |
Clasnfo(KaitaiStruct) |
__init__(self, _io, _parent=None, _root=None) |
collections.defaultdict(dict) |
_read(self) |
self._io.pos() |
self._io.read_bytes(1) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.