Class UtilityHelper
- Namespace
- SunSharp
- Assembly
- SunSharp.dll
public static class UtilityHelper
- Inheritance
-
objectUtilityHelper
Methods
CopyIntArraySkipNegativeOnes(IntPtr, int)
public static int[] CopyIntArraySkipNegativeOnes(IntPtr address, int count)
Parameters
addressIntPtrcountint
Returns
- int[]
PackTwoSignedShorts(short, short)
public static uint PackTwoSignedShorts(short lowerBytes, short upperBytes)
Parameters
lowerBytesshortupperBytesshort
Returns
- uint
ToShortBitwise(uint)
public static short ToShortBitwise(uint value)
Parameters
valueuint
Returns
- short
UnpackTwoSignedShorts(uint)
public static (short lowerBytes, short upperBytes) UnpackTwoSignedShorts(uint value)
Parameters
valueuint
Returns
- (short lowerBytes, short upperBytes)