NativeUtils Class |
Namespace: SampSharp.Core.Natives.NativeObjects.FastNatives
public static class NativeUtils
The NativeUtils type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ArrayToIntSpan |
Converts an array to on span of integers.
|
![]() ![]() | BytePointerToInt |
Casts a byte pointer to an integer.
|
![]() ![]() | GetByteCount |
Gets the byte count of the specified input string based on the currently active encoding.
|
![]() ![]() | GetBytes |
Gets the bytes of the specified input string based on the currently active encoding.
|
![]() ![]() | GetString |
Gets the string from the specified bytes based on the currently active encoding.
|
![]() ![]() | IntPointerToInt |
Casts an integer pointer to an integer.
|
![]() ![]() | IntSpanToArrayT |
Converts a span of integers to an array of type T.
|
![]() ![]() | SynchronizeInvoke |
Synchronizes an invocation to a native pointer.
|