(data: ReadBuffer)
| 453 | |
| 454 | |
| 455 | def 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 | |
| 461 | def write_bytes_list(data: WriteBuffer, value: Sequence[bytes]) -> None: |