Searched refs:len_chunk (Results 1 – 1 of 1) sorted by relevance
68 def _write_block(self, addr, chunk, len_chunk, block_no, blocks): argument69 assert len_chunk > 070 assert len_chunk <= self.CHUNK_SIZE76 block += self._to_uint32(len_chunk)83 md5_part += self._to_uint32(len_chunk)88 block += b'\x00' * (self.UF2_DATA_SIZE - self.UF2_MD5_PART_SIZE - len_chunk)98 len_chunk = len(chunk)99 self._write_block(a, chunk, len_chunk, i, blocks)100 a += len_chunk