Skip to content

compress/gzip: does not document when Reader.Header is valid #13211

@dsnet

Description

@dsnet

Using go1.5

Is Reader.Header valid after NewReader or after the first Reader.Read?

The code clearly shows that the Reader.Header is read during NewReader and Reader.Reset, but the documentation does not mention when it is valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions