Skip to content

Add comments to private data members of buffer.h to determine the single source of truth #599

Description

@sarahM0

There's a fragile disconnect between setting max_size_in_bytes_, element_count_ and resizing the bytes_ vector. No single one of them is the source of truth.
Write comments at their member declarations to define exactly what they mean, and therefore determine the single source of truth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions