Provides marshalling implementation. For compatibility with translated code only, as no managed code is supported on C++ side. This is a static type with no instance services. You should never create instances of it by any means.
More...
|
template<typename container > |
static void | Copy (const IntPtr source, container &&destination, int startIndex, int length) |
| Implements public static void Copy(IntPtr source, byte[] destination, int startIndex, int length) semantics. More...
|
|
template<typename container > |
static void | Copy (const void *source, container &&destination, int startIndex, int length) |
| Implements public static void Copy(IntPtr source, byte[] destination, int startIndex, int length) semantics. More...
|
|
template<typename container > |
static void | Copy (const container &source, int startIndex, void *destination, int length) |
| Implements public static void Copy(char[] source, int startIndex, IntPtr destination, int length). More...
|
|
template<typename container > |
static void | Copy (const container &source, int startIndex, IntPtr destination, int length) |
| Implements public static void Copy(char[] source, int startIndex, IntPtr destination, int length). More...
|
|
static void | WriteByte (IntPtr ptr, int offset, uint8_t value) |
| Writes byte to memory. More...
|
|
static void | WriteByte (IntPtr ptr, uint8_t value) |
| Writes byte to memory. More...
|
|
static void | WriteInt16 (IntPtr ptr, int offset, int16_t value) |
| Writes short to memory. More...
|
|
static void | WriteInt32 (IntPtr ptr, int offset, int32_t value) |
| Writes int to memory. More...
|
|
static void | WriteInt64 (IntPtr ptr, int offset, int64_t value) |
| Writes long to memory. More...
|
|
static uint8_t | ReadByte (IntPtr ptr, int offset=0) |
| Reads byte from memory. More...
|
|
static int16_t | ReadInt16 (IntPtr ptr, int offset=0) |
| Reads short from memory. More...
|
|
static int32_t | ReadInt32 (IntPtr ptr, int offset=0) |
| Reads int from memory. More...
|
|
static int32_t | GetHRForException (const System::Exception &exc) |
| Gets HResult from exception. More...
|
|
static ASPOSECPP_SHARED_API IntPtr | SecureStringToGlobalAllocAnsi (const SharedPtr< Security::SecureString > &s) |
| Copies contents of specified secure string into unmanaged memory, converting into ANSI format. More...
|
|
static ASPOSECPP_SHARED_API IntPtr | SecureStringToGlobalAllocUnicode (const SharedPtr< Security::SecureString > &s) |
| Copies contents of specified secure string into unmanaged memory. More...
|
|
static ASPOSECPP_SHARED_API IntPtr | AllocHGlobal (int32_t bytes_count) |
| Allocates unmanaged memory. More...
|
|
static ASPOSECPP_SHARED_API IntPtr | AllocHGlobal (IntPtr bytes_count) |
| Allocates unmanaged memory. More...
|
|
static ASPOSECPP_SHARED_API void | FreeHGlobal (IntPtr address) |
| Frees unmanaged memory. More...
|
|
static ASPOSECPP_SHARED_API void | ZeroFreeGlobalAllocAnsi (IntPtr s) |
| Frees unmanaged string pointer that was allocated using the SecureStringToGlobalAllocAnsi method. More...
|
|
static ASPOSECPP_SHARED_API void | ZeroFreeGlobalAllocUnicode (IntPtr s) |
| Frees unmanaged string pointer that was allocated using the SecureStringToGlobalAllocUnicode method. More...
|
|
static ASPOSECPP_SHARED_API IntPtr | StringToHGlobalAnsi (const String &s) |
| Copies the contents of a specified string into unmanaged memory. More...
|
|
static ASPOSECPP_SHARED_API IntPtr | StringToHGlobalUni (const String &s) |
| Copies the contents of a specified string into unmanaged memory. More...
|
|
static ASPOSECPP_SHARED_API IntPtr | StringToHGlobalAuto (const String &s) |
| Copies the contents of a specified string into unmanaged memory, converting to ANSI format if required. More...
|
|
static ASPOSECPP_SHARED_API String | PtrToStringAnsi (IntPtr ptr) |
| Creates a managed String from an unmanaged zero-terminated UTF8-string. More...
|
|
static ASPOSECPP_SHARED_API String | PtrToStringAnsi (IntPtr ptr, int length) |
| Creates a managed String from an unmanaged UTF8-string. More...
|
|
static ASPOSECPP_SHARED_API String | PtrToStringAuto (IntPtr ptr) |
| Creates a managed String from an unmanaged zero-terminated string. More...
|
|
static ASPOSECPP_SHARED_API String | PtrToStringAuto (IntPtr ptr, int length) |
| Creates a managed String from an unmanaged string. More...
|
|
static ASPOSECPP_SHARED_API String | PtrToStringUni (IntPtr ptr) |
| Creates a managed String from an unmanaged zero-terminated unicode string. More...
|
|
static ASPOSECPP_SHARED_API String | PtrToStringUni (IntPtr ptr, int length) |
| Creates a managed String from an unmanaged unicode string. More...
|
|
static ASPOSECPP_SHARED_API String | PtrToStringUTF8 (IntPtr ptr) |
| Creates a managed String from an unmanaged zero-terminated UTF8-string. More...
|
|
static ASPOSECPP_SHARED_API String | PtrToStringUTF8 (IntPtr ptr, int length) |
| Creates a managed String from an unmanaged UTF8-string. More...
|
|
Provides marshalling implementation. For compatibility with translated code only, as no managed code is supported on C++ side. This is a static type with no instance services. You should never create instances of it by any means.