![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MemoryView.h>
Friends | |
| template<typename OtherDataType > | |
| class | TMemoryView |
A non-owning view of a contiguous region of memory.
Prefer to use the aliases FMemoryView or FMutableMemoryView over this type.
Functions that modify a view clamp sizes and offsets to always return a sub-view of the input.
|
constexprdefault |
Construct an empty view.
|
inlineconstexpr |
Construct a view of by copying a view with compatible const/volatile qualifiers.
|
inlineconstexpr |
Construct a view of InSize bytes starting at InData.
|
inline |
Construct a view starting at InData and ending at InDataEnd.
|
inline |
Returns whether the bytes of this view are equal or less/greater than the bytes of the other view.
|
inline |
Returns whether this view fully contains the other view.
|
inline |
Copies bytes from the input view into this view, and returns the remainder of this view.
|
inline |
Returns whether the bytes of this views are equal to the bytes of the other view.
|
inlineconstexpr |
Returns whether the data pointers and sizes of this view and the other view are equal.
|
inlineconstexpr |
Returns a pointer to the start of the view.
|
inline |
Returns a pointer to the end of the view.
|
inlineconstexpr |
Returns the number of bytes in the view.
|
inline |
Returns whether this view intersects the other view.
|
inlineconstexpr |
Returns whether the view has a size of 0 regardless of its data pointer.
|
inlineconstexpr |
Returns the left-most part of the view by taking the given number of bytes from the left.
|
inlineconstexpr |
Returns the left-most part of the view by chopping the given number of bytes from the right.
|
inlineconstexpr |
Modifies the view by chopping the given number of bytes from the right.
|
inlineconstexpr |
Modifies the view to be the given number of bytes from the left.
|
inline |
Returns the middle part of the view by taking up to the given number of bytes from the given position.
|
inline |
Modifies the view to be the middle part by taking up to the given number of bytes from the given offset.
|
inlineconstexpr |
Returns whether the data pointers and sizes of this view and the other view are not equal.
|
inlineconstexpr |
Advances the start of the view by an offset, which is clamped to stay within the view.
|
inlineconstexpr |
Returns whether the data pointers and sizes of this view and the other view are equal.
|
inlineconstexpr |
Resets to an empty view.
|
inline |
Returns the right-most part of the view by taking the given number of bytes from the right.
|
inline |
Returns the right-most part of the view by chopping the given number of bytes from the left.
|
inline |
Modifies the view by chopping the given number of bytes from the left.
|
inline |
Modifies the view to be the given number of bytes from the right.