Home
last modified time | relevance | path

Searched refs:_bytes_match (Results 1 – 1 of 1) sorted by relevance

/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Delf_reader.py88 if _bytes_match(fd, ELF_MAGIC):
92 if _bytes_match(fd, ELF_MAGIC):
145 def _bytes_match(fd: BinaryIO, expected: bytes) -> bool: function
163 result = _bytes_match(fd, ELF_MAGIC) or _bytes_match(fd, ARCHIVE_MAGIC)