Click or drag to resize
Ab4d.SharpEngine logo

MemoryUtilsAlignPtrTo32 Method

Aligns the specified pointer to 32 bytes (if not already aligned then the ptr address is increased to the next aligned address). The method returns the addressOffset (if more than 0 then the ptr address is increased that offset).

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static byte* AlignPtrTo32(
	byte* ptr,
	out int addressOffset
)

Parameters

ptr  Byte*
pointer
addressOffset  Int32
out parameter that is added to the addressOffset (if more than 0 then the ptr address was increased by that offset)

Return Value

Byte*

[Missing <returns> documentation for "M:Ab4d.SharpEngine.Utilities.MemoryUtils.AlignPtrTo32(System.Byte*,System.Int32@)"]

Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MemoryUtils.AlignPtrTo32(System.Byte*,System.Int32@)"]

See Also