Table of Contents

Class UtilityHelper

Namespace
SunSharp
Assembly
SunSharp.dll
public static class UtilityHelper
Inheritance
object
UtilityHelper

Methods

CopyIntArraySkipNegativeOnes(IntPtr, int)

public static int[] CopyIntArraySkipNegativeOnes(IntPtr address, int count)

Parameters

address IntPtr
count int

Returns

int[]

PackTwoSignedShorts(short, short)

public static uint PackTwoSignedShorts(short lowerBytes, short upperBytes)

Parameters

lowerBytes short
upperBytes short

Returns

uint

ToShortBitwise(uint)

public static short ToShortBitwise(uint value)

Parameters

value uint

Returns

short

UnpackTwoSignedShorts(uint)

public static (short lowerBytes, short upperBytes) UnpackTwoSignedShorts(uint value)

Parameters

value uint

Returns

(short lowerBytes, short upperBytes)