Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Read encoder examples #356

Merged
merged 2 commits into from
Jul 17, 2023
Merged

Fix Read encoder examples #356

merged 2 commits into from
Jul 17, 2023

Commits on Jun 27, 2023

  1. Fix Read encoder examples

    The examples for the Read encoders previously used the read method to
    read data. However, as pointed out in issue 158, this may only read
    part of the data. Instead the read_to_end method should be used.
    
    Fixes: #355
    markgoddard committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    3281693 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Simplify doc-tests

    Now that `read_to_end` is used, the amount of returned bytes is neatly
    encoded in the buffer's length.
    Byron committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    08f7d73 View commit details
    Browse the repository at this point in the history