Skip to content

Add a Memory Reader that owns the buffer via std::move #375

Description

@Brett208

Discussed in PR #373 as maybe useful.

Would be an alternative to the current MemoryReader that accesses a buffer owned by an external source.

Could provide additional guarantees of no changes to memory state when reading from a buffer that would be immediately disposed of after reading (I think a common use case).

Possibility of improved semantics in code from MemoryReader in some cases, but this idea hasn't been fully explored.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions