Function MemHeader.allocateAligned
Allocate aligned memory (2^n)
Wraps the allocateAbs() function for aligned operation.
Parameters
| Name | Description |
|---|---|
| byteSize | size to allocate |
| alignment | the 'n' of the 2^n alignment |
| flags | the MemFlags. |
Returns
Adress of allocated memory or null