MCPcopy Index your code
hub / github.com/python/mypy / read_bytes_list

Function read_bytes_list

mypy/cache.py:455–458  ·  view source on GitHub ↗
(data: ReadBuffer)

Source from the content-addressed store, hash-verified

453
454
455def read_bytes_list(data: ReadBuffer) -> list[bytes]:
456 assert read_tag(data) == LIST_BYTES
457 size = read_int_bare(data)
458 return [read_bytes_bare(data) for _ in range(size)]
459
460
461def write_bytes_list(data: WriteBuffer, value: Sequence[bytes]) -> None:

Callers 2

readMethod · 0.85
readMethod · 0.85

Calls 1

rangeClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…