Skip to content

storage.ReadAt doesn't read with empty arrays #77

@benjlai

Description

@benjlai

I think the line:
l := int64(len(b))
should be
l := int64(cap(b))
i.e. the length of data copied should be based on the capacity of the array and not how much it has already been filled by other data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions