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

Returned buffer is prefixed with cr/lf ([13, 10, ...]) #12

Open
ozra opened this issue Nov 17, 2017 · 0 comments
Open

Returned buffer is prefixed with cr/lf ([13, 10, ...]) #12

ozra opened this issue Nov 17, 2017 · 0 comments

Comments

@ozra
Copy link

ozra commented Nov 17, 2017

I guess this might be the same issue as #11, if so just close this.

At the moment I simply slice(2) the buffer if the two first values are those, but it's not a pretty solution - works as long as I'm working with known files (jpegs, etc.), but with arbitrary files things could get shaky...

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

No branches or pull requests

1 participant