Skip to content

available should not return 0 on new LZ4FrameInputStream #45

Closed as not planned

Description

@erikvanoosten

#40, the fix for #39 is not correct as it returns 0 from available when the LZ4FrameInputStream is new while 0 should only be returned for the end of stream. As any number (besides 0) must be seen as an estimate, a better approach is to return 1.

Activity

  1. erikvanoosten commented on Apr 7, 2026

    @erikvanoosten
    Author

    Sorry, I was wrong. 0 is always fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions