Skip to content

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

Description

@xor-gate

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:

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions