()
| 410 | |
| 411 | |
| 412 | def test_stream_buffer_set_reader_index(): |
| 413 | reader = Buffer.from_stream(OneByteStream(bytes([0x11, 0x22, 0x33, 0x44, 0x55]))) |
| 414 | reader.set_reader_index(4) |
| 415 | assert reader.read_uint8() == 0x55 |
| 416 | |
| 417 | |
| 418 | def test_stream_buffer_set_reader_index_out_of_bound(): |
nothing calls this directly
no test coverage detected