Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Using from_u8/match_u8 with data pulled from streams #10

Open
katyo opened this issue Nov 16, 2018 · 1 comment
Open

Using from_u8/match_u8 with data pulled from streams #10

katyo opened this issue Nov 16, 2018 · 1 comment

Comments

@katyo
Copy link

katyo commented Nov 16, 2018

The case, when file data pulled from stream, requires little different API because we don't sure that we have enough data.

I think from_u8() and match_u8() should return Option<_> where None means "not enough data to determine".

@katyo
Copy link
Author

katyo commented Nov 16, 2018

As alternative solution I would like to have a way to know how much data actually required to match or detect type.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant