(data: ReadBuffer)
| 411 | |
| 412 | |
| 413 | def read_str_opt(data: ReadBuffer) -> str | None: |
| 414 | tag = read_tag(data) |
| 415 | if tag == LITERAL_NONE: |
| 416 | return None |
| 417 | assert tag == LITERAL_STR |
| 418 | return read_str_bare(data) |
| 419 | |
| 420 | |
| 421 | def write_str_opt(data: WriteBuffer, value: str | None) -> None: |
no outgoing calls
no test coverage detected
searching dependent graphs…