Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FCompositeBuffer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMemoryView ViewOrCopyRange
(
uint64 Offset, |
Returns a view of the range if contained by one segment, otherwise a view of a copy of the range. | Memory/CompositeBuffer.h | |
FMemoryView ViewOrCopyRange
(
uint64 Offset, |
Memory/CompositeBuffer.h |
ViewOrCopyRange(uint64, uint64, FUniqueBuffer &)
Description
Returns a view of the range if contained by one segment, otherwise a view of a copy of the range.
CopyBuffer is reused if large enough, and otherwise allocated when needed.
| Name | ViewOrCopyRange |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Memory/CompositeBuffer.h |
| Include Path | #include "Memory/CompositeBuffer.h" |
| Source | /Engine/Source/Runtime/Core/Private/Memory/CompositeBuffer.cpp |
FMemoryView ViewOrCopyRange
(
uint64 Offset,
uint64 Size,
FUniqueBuffer & CopyBuffer
) const
Parameters
| Name | Remarks |
|---|---|
| Offset | The byte offset in this buffer that the range starts at. |
| Size | The number of bytes in the range to view or copy. |
| CopyBuffer | The buffer to write the copy into if a copy is required. |
| Allocator | The optional allocator to use when the copy buffer is required. |
ViewOrCopyRange(uint64, uint64, FUniqueBuffer &, TFunctionRef< FUniqueBuffer(uint64 Size)>)
| Name | ViewOrCopyRange |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Memory/CompositeBuffer.h |
| Include Path | #include "Memory/CompositeBuffer.h" |
| Source | /Engine/Source/Runtime/Core/Private/Memory/CompositeBuffer.cpp |
FMemoryView ViewOrCopyRange
(
uint64 Offset,
uint64 Size,
FUniqueBuffer & CopyBuffer,
TFunctionRef < FUniqueBuffer > Allocator
) const