Skip to content

[C++] Add functionality to MemoryManager for copying a slice of a buffer #39858

@zeroshade

Description

@zeroshade

Describe the enhancement requested

Currently MemoryManager objects define functionality to Copy or View entire buffers. Occasionally there is the need to only copy a single value or slice from a buffer (see #39770 (comment)). It's overkill to do a bunch of whole Buffer operations and manually slicing just to copy 4 or 8 bytes.

Instead we can add new methods to the MemoryManager interface such as CopyBufferSlice etc.

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions