Click or drag to resize

NativeUtils Methods

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