![]() |
MCRO
C++23 utilities for Unreal Engine.
|
Functions | |
| template<typename T , typename Allocator = FDefaultAllocator> | |
| TArrayView< uint8 > | MakeByteArrayViewFromTyped (TArray< T, Allocator > &array) |
| Makes a non-owning byte array view of the source typed array. | |
| template<typename T , typename Allocator = FDefaultAllocator> | |
| TArrayView< T > | MakeTypedArrayViewFromBytes (TArray< uint8, Allocator > &array) |
| Makes a non-owning typed array view of the source byte array. | |
| TArrayView< uint8 > Mcro::ArrayViews::MakeByteArrayViewFromTyped | ( | TArray< T, Allocator > & | array | ) |
Makes a non-owning byte array view of the source typed array.
| T | Source type |
| Allocator | (optional) Array allocator |
| array | Source array (going out of scope while working with the view will result in undefined behavior) |
Definition at line 27 of file ArrayViews.h.
| TArrayView< T > Mcro::ArrayViews::MakeTypedArrayViewFromBytes | ( | TArray< uint8, Allocator > & | array | ) |
Makes a non-owning typed array view of the source byte array.
| T | Destination type |
| Allocator | (optional) Array allocator |
| array | Source array (going out of scope while working with the view will result in undefined behavior) |
Definition at line 43 of file ArrayViews.h.