-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
AnsiStringMarshaller.xml
122 lines (122 loc) · 7.35 KB
/
AnsiStringMarshaller.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<Type Name="AnsiStringMarshaller" FullName="System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller">
<TypeSignature Language="C#" Value="public static class AnsiStringMarshaller" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit AnsiStringMarshaller extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller" />
<TypeSignature Language="VB.NET" Value="Public Class AnsiStringMarshaller" />
<TypeSignature Language="F#" Value="type AnsiStringMarshaller = class" />
<TypeSignature Language="C++ CLI" Value="public ref class AnsiStringMarshaller abstract sealed" />
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.CLSCompliant(false)]</AttributeName>
<AttributeName Language="F#">[<System.CLSCompliant(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller))]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller+ManagedToUnmanagedIn))]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller+ManagedToUnmanagedIn))>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Marshaller for ANSI strings.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="ConvertToManaged">
<MemberSignature Language="C#" Value="public static string? ConvertToManaged (byte* unmanaged);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string ConvertToManaged(unsigned int8* unmanaged) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller.ConvertToManaged(System.Byte*)" />
<MemberSignature Language="F#" Value="static member ConvertToManaged : nativeptr<byte> -> string" Usage="System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller.ConvertToManaged unmanaged" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::String ^ ConvertToManaged(System::Byte* unmanaged);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="unmanaged" Type="System.Byte*" />
</Parameters>
<Docs>
<param name="unmanaged">The unmanaged string to convert.</param>
<summary>Converts an unmanaged string to a managed version.</summary>
<returns>A managed string.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ConvertToUnmanaged">
<MemberSignature Language="C#" Value="public static byte* ConvertToUnmanaged (string? managed);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int8* ConvertToUnmanaged(string managed) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller.ConvertToUnmanaged(System.String)" />
<MemberSignature Language="F#" Value="static member ConvertToUnmanaged : string -> nativeptr<byte>" Usage="System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller.ConvertToUnmanaged managed" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Byte* ConvertToUnmanaged(System::String ^ managed);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte*</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="managed" Type="System.String">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="managed">The managed string to convert.</param>
<summary>Converts a string to an unmanaged version.</summary>
<returns>An unmanaged string.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Free">
<MemberSignature Language="C#" Value="public static void Free (byte* unmanaged);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Free(unsigned int8* unmanaged) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller.Free(System.Byte*)" />
<MemberSignature Language="F#" Value="static member Free : nativeptr<byte> -> unit" Usage="System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller.Free unmanaged" />
<MemberSignature Language="C++ CLI" Value="public:
 static void Free(System::Byte* unmanaged);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="unmanaged" Type="System.Byte*" />
</Parameters>
<Docs>
<param name="unmanaged">The memory allocated for the unmanaged string.</param>
<summary>Frees the memory for the unmanaged string.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>