 |
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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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
See Also