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

Satisfy io.Writer interface when using io.Copy returns io.ErrShortWrite #4

Open
xor-gate opened this issue May 30, 2017 · 2 comments
Open

Comments

@xor-gate
Copy link

When writing unaligned files, and the Writer Write function returns n+n2, err it simply panics when writing to a bytes.Buffer with io.Copy.

I have created a testcase:

xor-gate@9e954ed

See:

@ribasushi
Copy link

@blakesmith any chance of pulling the commits in question ? The license seems the same...

@myml
Copy link

myml commented Jul 9, 2020

Hi! This is is better. maybe...

myml added a commit to myml/ar that referenced this issue Jul 9, 2020
myml added a commit to myml/ar that referenced this issue Jul 9, 2020
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

3 participants