Click or drag to resize

NativeUtils Class

Provides functions used by native proxies generated by FastNativeBasedNativeObjectProxyFactory.
Inheritance Hierarchy
SystemObject
  SampSharp.Core.Natives.NativeObjects.FastNativesNativeUtils

Namespace:  SampSharp.Core.Natives.NativeObjects.FastNatives
Assembly:  SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static class NativeUtils

The NativeUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberArrayToIntSpan
Converts an array to on span of integers.
Public methodStatic memberBytePointerToInt
Casts a byte pointer to an integer.
Public methodStatic memberGetByteCount
Gets the byte count of the specified input string based on the currently active encoding.
Public methodStatic memberGetBytes
Gets the bytes of the specified input string based on the currently active encoding.
Public methodStatic memberGetString
Gets the string from the specified bytes based on the currently active encoding.
Public methodStatic memberIntPointerToInt
Casts an integer pointer to an integer.
Public methodStatic memberIntSpanToArrayT
Converts a span of integers to an array of type T.
Public methodStatic memberSynchronizeInvoke
Synchronizes an invocation to a native pointer.
Top
See Also