def METHOD_NAME(decoder_class: CALLABLE_DECODER) -> None:
    mis = io.BytesIO(b"")
    decoder = decoder_class(mis)
    with pytest.raises(ValueError) as exc_info:
        decoder.read(-1)
    assert "Requested -1 bytes to read, expected positive integer." in str(exc_info.value)