(data: WriteBuffer, value: int | None)
| 403 | |
| 404 | |
| 405 | def write_int_opt(data: WriteBuffer, value: int | None) -> None: |
| 406 | if value is not None: |
| 407 | write_tag(data, LITERAL_INT) |
| 408 | write_int_bare(data, value) |
| 409 | else: |
| 410 | write_tag(data, LITERAL_NONE) |
| 411 | |
| 412 | |
| 413 | def read_str_opt(data: ReadBuffer) -> str | None: |
no outgoing calls
no test coverage detected
searching dependent graphs…