nw::os::AllocateAndFillN Function
template <typename TObject>
TObject * AllocateAndFillN(
os::IAllocator * allocator,
size_t size,
u8 value
);
| Name | Description |
|---|---|
TObject |
Type of object to allocate. |
| Name | Description | |
|---|---|---|
| in | allocator | Allocator. |
| in | size |
Size to be allocated. |
| in | value | Value to fill with. |
Allocates memory of the specified size, and fills the allocated region with the specified value.
CONFIDENTIAL