AlignedAlloc extension

Extension to help with aligned memory allocation

on

Methods

align16<T extends Struct>({int count = 1}) Pointer<T>

Available on Allocator, provided by the AlignedAlloc extension

Helper methods for common alignments
align4<T extends Struct>({int count = 1}) Pointer<T>

Available on Allocator, provided by the AlignedAlloc extension

Helper methods for common alignments
align8<T extends Struct>({int count = 1}) Pointer<T>

Available on Allocator, provided by the AlignedAlloc extension

Helper methods for common alignments
allocAligned<T extends Struct>(int size, int alignment, {int count = 1}) Pointer<T>

Available on Allocator, provided by the AlignedAlloc extension

Allocate aligned memory for custom sized native types