 |
MemoryUtilsAlignValueTo32 Method |
Aligns the specified value to 32 bytes (if not already aligned then the value is increased to the next aligned value).
The method returns the valueOffset (if more than 0 then the value was increased by that offset).
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static int AlignValueTo32(
int unalignedValue,
out int? valueOffset
)
Parameters
- unalignedValue Int32
- unaligned value
- valueOffset Int32
- out parameter that is added to the unalignedValue (if more than 0 then the ptr address is increased that offset)
Return Value
Int32[Missing <returns> documentation for "M:Ab4d.SharpEngine.Utilities.MemoryUtils.AlignValueTo32(System.Int32,System.Int32@)"]
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MemoryUtils.AlignValueTo32(System.Int32,System.Int32@)"]
See Also