|
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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public 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@)"]
See Also