Class MemoryUtils
Inheritance
System.Object
MemoryUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AltV.Net.Shared.Utils
Assembly: AltV.Net.Shared.dll
Syntax
public class MemoryUtils
Methods
| Improve this Doc View SourceByteArrayToHGlobal(Byte[])
Declaration
public static IntPtr ByteArrayToHGlobal(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes |
Returns
Type | Description |
---|---|
IntPtr |
StringToHGlobalUtf8(String)
Declaration
public static IntPtr StringToHGlobalUtf8(string str)
Parameters
Type | Name | Description |
---|---|---|
System.String | str |
Returns
Type | Description |
---|---|
IntPtr |