(self, offset: int, length: int)
| 430 | subheader_processor(subheader_offset, subheader_length) |
| 431 | |
| 432 | def _process_rowsize_subheader(self, offset: int, length: int) -> None: |
| 433 | int_len = self._int_length |
| 434 | lcs_offset = offset |
| 435 | lcp_offset = offset |
| 436 | if self.U64: |
| 437 | lcs_offset += 682 |
| 438 | lcp_offset += 706 |
| 439 | else: |
| 440 | lcs_offset += 354 |
| 441 | lcp_offset += 378 |
| 442 | |
| 443 | self.row_length = self._read_uint( |
| 444 | offset + const.row_length_offset_multiplier * int_len, |
| 445 | int_len, |
| 446 | ) |
| 447 | self.row_count = self._read_uint( |
| 448 | offset + const.row_count_offset_multiplier * int_len, |
| 449 | int_len, |
| 450 | ) |
| 451 | self.col_count_p1 = self._read_uint( |
| 452 | offset + const.col_count_p1_multiplier * int_len, int_len |
| 453 | ) |
| 454 | self.col_count_p2 = self._read_uint( |
| 455 | offset + const.col_count_p2_multiplier * int_len, int_len |
| 456 | ) |
| 457 | mx = const.row_count_on_mix_page_offset_multiplier * int_len |
| 458 | self._mix_page_row_count = self._read_uint(offset + mx, int_len) |
| 459 | self._lcs = self._read_uint(lcs_offset, 2) |
| 460 | self._lcp = self._read_uint(lcp_offset, 2) |
| 461 | |
| 462 | def _process_columnsize_subheader(self, offset: int, length: int) -> None: |
| 463 | int_len = self._int_length |
nothing calls this directly
no test coverage detected