@tsonic/dotnet 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Internal/internal/index.d.ts +5 -5
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
- package/Microsoft.VisualBasic/bindings.json +28 -28
- package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
- package/Microsoft.VisualBasic/internal/metadata.json +14 -14
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
- package/Microsoft.Win32/internal/index.d.ts +16 -14
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
- package/README.md +39 -0
- package/System/bindings.json +138 -138
- package/System/internal/index.d.ts +4165 -3967
- package/System/internal/metadata.json +81 -487
- package/System.Buffers/internal/index.d.ts +60 -50
- package/System.Buffers.Binary/internal/index.d.ts +126 -126
- package/System.Buffers.Text/internal/index.d.ts +67 -67
- package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
- package/System.Collections/internal/index.d.ts +199 -179
- package/System.Collections.Concurrent/internal/index.d.ts +61 -59
- package/System.Collections.Frozen/internal/index.d.ts +29 -29
- package/System.Collections.Frozen/internal/metadata.json +2 -16
- package/System.Collections.Generic/index.d.ts +1 -1
- package/System.Collections.Generic/internal/index.d.ts +382 -354
- package/System.Collections.Generic/internal/metadata.json +5 -54
- package/System.Collections.Immutable/internal/index.d.ts +321 -319
- package/System.Collections.Immutable/internal/metadata.json +5 -40
- package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
- package/System.Collections.ObjectModel/internal/metadata.json +1 -36
- package/System.Collections.Specialized/internal/index.d.ts +104 -96
- package/System.ComponentModel/internal/index.d.ts +661 -631
- package/System.ComponentModel/internal/metadata.json +0 -7
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
- package/System.ComponentModel.Design/bindings.json +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +207 -193
- package/System.ComponentModel.Design/internal/metadata.json +1 -1
- package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
- package/System.Configuration.Assemblies/bindings.json +10 -10
- package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
- package/System.Configuration.Assemblies/internal/metadata.json +5 -5
- package/System.Data/internal/index.d.ts +481 -453
- package/System.Data.Common/internal/index.d.ts +149 -121
- package/System.Data.SqlTypes/bindings.json +2 -2
- package/System.Data.SqlTypes/internal/index.d.ts +331 -299
- package/System.Data.SqlTypes/internal/metadata.json +1 -1
- package/System.Diagnostics/bindings.json +6 -6
- package/System.Diagnostics/internal/index.d.ts +333 -313
- package/System.Diagnostics/internal/metadata.json +3 -10
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
- package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
- package/System.Diagnostics.SymbolStore/bindings.json +6 -6
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
- package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
- package/System.Drawing/bindings.json +24 -24
- package/System.Drawing/internal/index.d.ts +281 -281
- package/System.Drawing/internal/metadata.json +12 -12
- package/System.Dynamic/internal/index.d.ts +46 -42
- package/System.Formats.Asn1/bindings.json +12 -12
- package/System.Formats.Asn1/internal/index.d.ts +50 -48
- package/System.Formats.Asn1/internal/metadata.json +6 -6
- package/System.Formats.Tar/bindings.json +2 -2
- package/System.Formats.Tar/internal/index.d.ts +17 -13
- package/System.Formats.Tar/internal/metadata.json +1 -1
- package/System.Globalization/bindings.json +8 -8
- package/System.Globalization/internal/index.d.ts +177 -163
- package/System.Globalization/internal/metadata.json +4 -4
- package/System.IO/internal/index.d.ts +457 -439
- package/System.IO.Compression/internal/index.d.ts +78 -72
- package/System.IO.Enumeration/internal/index.d.ts +22 -22
- package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
- package/System.IO.Pipelines/internal/index.d.ts +15 -13
- package/System.IO.Pipes/internal/index.d.ts +23 -23
- package/System.Linq/internal/index.d.ts +853 -845
- package/System.Linq/internal/metadata.json +0 -17
- package/System.Linq.Expressions/internal/index.d.ts +354 -340
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/bindings.json +2 -2
- package/System.Net/internal/index.d.ts +351 -317
- package/System.Net/internal/metadata.json +1 -1
- package/System.Net.Http/internal/index.d.ts +64 -54
- package/System.Net.Http.Headers/bindings.json +2 -2
- package/System.Net.Http.Headers/internal/index.d.ts +139 -99
- package/System.Net.Http.Headers/internal/metadata.json +1 -1
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/bindings.json +2 -2
- package/System.Net.Mail/internal/index.d.ts +90 -78
- package/System.Net.Mail/internal/metadata.json +4 -32
- package/System.Net.Mime/internal/index.d.ts +51 -51
- package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
- package/System.Net.Quic/internal/index.d.ts +15 -11
- package/System.Net.Security/bindings.json +674 -674
- package/System.Net.Security/internal/index.d.ts +396 -394
- package/System.Net.Security/internal/metadata.json +337 -337
- package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
- package/System.Net.Sockets/bindings.json +10 -10
- package/System.Net.Sockets/internal/index.d.ts +100 -90
- package/System.Net.Sockets/internal/metadata.json +5 -5
- package/System.Net.WebSockets/internal/index.d.ts +21 -19
- package/System.Numerics/bindings.json +110 -110
- package/System.Numerics/internal/index.d.ts +1057 -1039
- package/System.Numerics/internal/metadata.json +55 -89
- package/System.Reflection/bindings.json +25 -25
- package/System.Reflection/internal/index.d.ts +336 -316
- package/System.Reflection/internal/metadata.json +12 -12
- package/System.Reflection.Emit/bindings.json +307 -307
- package/System.Reflection.Emit/internal/index.d.ts +242 -236
- package/System.Reflection.Emit/internal/metadata.json +152 -152
- package/System.Reflection.Metadata/bindings.json +272 -272
- package/System.Reflection.Metadata/internal/index.d.ts +448 -438
- package/System.Reflection.Metadata/internal/metadata.json +164 -360
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
- package/System.Reflection.PortableExecutable/bindings.json +26 -26
- package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
- package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
- package/System.Resources/internal/index.d.ts +30 -24
- package/System.Runtime/internal/index.d.ts +20 -16
- package/System.Runtime.CompilerServices/bindings.json +4 -4
- package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
- package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
- package/System.Runtime.InteropServices/bindings.json +146 -146
- package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
- package/System.Runtime.InteropServices/internal/metadata.json +73 -130
- package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
- package/System.Runtime.Loader/internal/index.d.ts +9 -7
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +179 -171
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
- package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
- package/System.Runtime.Versioning/internal/index.d.ts +4 -4
- package/System.Security/internal/index.d.ts +45 -39
- package/System.Security.AccessControl/internal/index.d.ts +28 -26
- package/System.Security.Authentication/internal/index.d.ts +2 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
- package/System.Security.Claims/internal/index.d.ts +94 -90
- package/System.Security.Cryptography/bindings.json +111 -111
- package/System.Security.Cryptography/internal/index.d.ts +842 -794
- package/System.Security.Cryptography/internal/metadata.json +52 -59
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +36 -30
- package/System.Text/bindings.json +28 -28
- package/System.Text/internal/index.d.ts +325 -319
- package/System.Text/internal/metadata.json +4 -4
- package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
- package/System.Text.Json/internal/index.d.ts +184 -180
- package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
- package/System.Text.Json.Schema/internal/index.d.ts +3 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
- package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
- package/System.Text.RegularExpressions/internal/metadata.json +5 -40
- package/System.Text.Unicode/internal/index.d.ts +171 -171
- package/System.Threading/bindings.json +4 -4
- package/System.Threading/internal/index.d.ts +411 -377
- package/System.Threading/internal/metadata.json +2 -2
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +209 -205
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
- package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
- package/System.Timers/internal/index.d.ts +11 -9
- package/System.Transactions/internal/index.d.ts +83 -67
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/bindings.json +35 -35
- package/System.Xml/internal/index.d.ts +343 -325
- package/System.Xml/internal/metadata.json +17 -17
- package/System.Xml.Linq/internal/index.d.ts +122 -110
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Schema/internal/index.d.ts +71 -71
- package/System.Xml.Serialization/internal/index.d.ts +120 -120
- package/System.Xml.XPath/internal/index.d.ts +40 -34
- package/System.Xml.Xsl/internal/index.d.ts +27 -27
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
- package/__internal/extensions/index.d.ts +2294 -0
- package/package.json +1 -1
- package/internal/extensions/index.d.ts +0 -2280
|
@@ -56,8 +56,8 @@ export enum NormalizationForm {
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
export class Rune$instance {
|
|
59
|
-
constructor(ch:
|
|
60
|
-
constructor(highSurrogate:
|
|
59
|
+
constructor(ch: char);
|
|
60
|
+
constructor(highSurrogate: char, lowSurrogate: char);
|
|
61
61
|
constructor(value: int);
|
|
62
62
|
constructor(value: uint);
|
|
63
63
|
readonly isAscii: boolean;
|
|
@@ -67,75 +67,77 @@ export class Rune$instance {
|
|
|
67
67
|
readonly utf8SequenceLength: int;
|
|
68
68
|
readonly value: int;
|
|
69
69
|
compareTo(other: Rune): int;
|
|
70
|
-
encodeToUtf16(destination: Span_1<CLROf<
|
|
70
|
+
encodeToUtf16(destination: Span_1<CLROf<char>>): int;
|
|
71
71
|
encodeToUtf8(destination: Span_1<CLROf<byte>>): int;
|
|
72
|
-
equals(obj:
|
|
72
|
+
equals(obj: unknown): boolean;
|
|
73
73
|
equals(other: Rune): boolean;
|
|
74
74
|
getHashCode(): int;
|
|
75
75
|
toString(): string;
|
|
76
|
-
tryEncodeToUtf16(destination: Span_1<CLROf<
|
|
76
|
+
tryEncodeToUtf16(destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
77
77
|
tryEncodeToUtf8(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
78
|
-
static readonly
|
|
79
|
-
static
|
|
80
|
-
static
|
|
81
|
-
static
|
|
82
|
-
static
|
|
83
|
-
static
|
|
84
|
-
static
|
|
85
|
-
static
|
|
86
|
-
static
|
|
87
|
-
static
|
|
88
|
-
static
|
|
89
|
-
static
|
|
90
|
-
static
|
|
91
|
-
static
|
|
92
|
-
static
|
|
93
|
-
static
|
|
94
|
-
static
|
|
95
|
-
static
|
|
96
|
-
static
|
|
97
|
-
static
|
|
98
|
-
static
|
|
99
|
-
static
|
|
100
|
-
static
|
|
101
|
-
static
|
|
102
|
-
static
|
|
103
|
-
static
|
|
104
|
-
static
|
|
105
|
-
static
|
|
106
|
-
static
|
|
107
|
-
static
|
|
78
|
+
static readonly replacementChar: Rune;
|
|
79
|
+
static decodeFromUtf16(source: ReadOnlySpan_1<CLROf<char>>, result: { value: ref<Rune> }, charsConsumed: { value: ref<int> }): OperationStatus;
|
|
80
|
+
static decodeFromUtf8(source: ReadOnlySpan_1<CLROf<byte>>, result: { value: ref<Rune> }, bytesConsumed: { value: ref<int> }): OperationStatus;
|
|
81
|
+
static decodeLastFromUtf16(source: ReadOnlySpan_1<CLROf<char>>, result: { value: ref<Rune> }, charsConsumed: { value: ref<int> }): OperationStatus;
|
|
82
|
+
static decodeLastFromUtf8(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<Rune> }, bytesConsumed: { value: ref<int> }): OperationStatus;
|
|
83
|
+
static getNumericValue(value: Rune): double;
|
|
84
|
+
static getRuneAt(input: string, index: int): Rune;
|
|
85
|
+
static getUnicodeCategory(value: Rune): UnicodeCategory;
|
|
86
|
+
static isControl(value: Rune): boolean;
|
|
87
|
+
static isDigit(value: Rune): boolean;
|
|
88
|
+
static isLetter(value: Rune): boolean;
|
|
89
|
+
static isLetterOrDigit(value: Rune): boolean;
|
|
90
|
+
static isLower(value: Rune): boolean;
|
|
91
|
+
static isNumber(value: Rune): boolean;
|
|
92
|
+
static isPunctuation(value: Rune): boolean;
|
|
93
|
+
static isSeparator(value: Rune): boolean;
|
|
94
|
+
static isSymbol(value: Rune): boolean;
|
|
95
|
+
static isUpper(value: Rune): boolean;
|
|
96
|
+
static isValid(value: int): boolean;
|
|
97
|
+
static isValid(value: uint): boolean;
|
|
98
|
+
static isWhiteSpace(value: Rune): boolean;
|
|
99
|
+
static toLower(value: Rune, culture: CultureInfo): Rune;
|
|
100
|
+
static toLowerInvariant(value: Rune): Rune;
|
|
101
|
+
static toUpper(value: Rune, culture: CultureInfo): Rune;
|
|
102
|
+
static toUpperInvariant(value: Rune): Rune;
|
|
103
|
+
static tryCreate2(highSurrogate: char, lowSurrogate: char, result: { value: ref<Rune> }): boolean;
|
|
104
|
+
static tryCreate2(ch: char, result: { value: ref<Rune> }): boolean;
|
|
105
|
+
static tryCreate2(value: int, result: { value: ref<Rune> }): boolean;
|
|
106
|
+
static tryCreate2(value: uint, result: { value: ref<Rune> }): boolean;
|
|
107
|
+
static tryGetRuneAt(input: string, index: int, value: { value: ref<Rune> }): boolean;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
export interface __Rune$views {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
112
|
+
As_IComparable(): System_Internal.IComparable$instance;
|
|
113
|
+
As_IComparable_1(): System_Internal.IComparable_1$instance<Rune>;
|
|
114
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<Rune>;
|
|
115
|
+
As_IFormattable(): System_Internal.IFormattable$instance;
|
|
116
|
+
As_ISpanFormattable(): System_Internal.ISpanFormattable$instance;
|
|
117
|
+
As_IUtf8SpanFormattable(): System_Internal.IUtf8SpanFormattable$instance;
|
|
118
|
+
As_IUtf8SpanParsable_1(): System_Internal.IUtf8SpanParsable_1$instance<Rune>;
|
|
119
119
|
|
|
120
120
|
// Structural method bridges for numeric interface constraints
|
|
121
121
|
Equals(other: Rune): boolean;
|
|
122
|
-
CompareTo(obj:
|
|
122
|
+
CompareTo(obj: unknown): int;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
export interface Rune$instance extends System_Internal.IComparable_1$instance<Rune>, System_Internal.IUtf8SpanFormattable$instance, System_Internal.IUtf8SpanParsable_1$instance<Rune> {}
|
|
126
|
+
|
|
125
127
|
export type Rune = Rune$instance & __Rune$views;
|
|
126
128
|
|
|
127
129
|
|
|
128
130
|
export class SpanLineEnumerator$instance {
|
|
129
|
-
readonly current: ReadOnlySpan_1<CLROf<
|
|
131
|
+
readonly current: ReadOnlySpan_1<CLROf<char>>;
|
|
130
132
|
getEnumerator(): SpanLineEnumerator;
|
|
131
133
|
moveNext(): boolean;
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
|
|
135
137
|
export interface __SpanLineEnumerator$views {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<ReadOnlySpan_1<CLROf<char>>>;
|
|
139
|
+
As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
|
|
140
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
139
141
|
}
|
|
140
142
|
|
|
141
143
|
export type SpanLineEnumerator = SpanLineEnumerator$instance & __SpanLineEnumerator$views;
|
|
@@ -149,9 +151,9 @@ export class SpanRuneEnumerator$instance {
|
|
|
149
151
|
|
|
150
152
|
|
|
151
153
|
export interface __SpanRuneEnumerator$views {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<Rune>;
|
|
155
|
+
As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
|
|
156
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
export type SpanRuneEnumerator = SpanRuneEnumerator$instance & __SpanRuneEnumerator$views;
|
|
@@ -164,11 +166,11 @@ export class StringBuilder_AppendInterpolatedStringHandler$instance {
|
|
|
164
166
|
appendFormatted<T>(value: T, format: string): void;
|
|
165
167
|
appendFormatted<T>(value: T, alignment: int): void;
|
|
166
168
|
appendFormatted<T>(value: T, alignment: int, format: string): void;
|
|
167
|
-
appendFormatted(value: ReadOnlySpan_1<CLROf<
|
|
168
|
-
appendFormatted(value: ReadOnlySpan_1<CLROf<
|
|
169
|
+
appendFormatted(value: ReadOnlySpan_1<CLROf<char>>): void;
|
|
170
|
+
appendFormatted(value: ReadOnlySpan_1<CLROf<char>>, alignment?: int, format?: string): void;
|
|
169
171
|
appendFormatted(value: string): void;
|
|
170
172
|
appendFormatted(value: string, alignment?: int, format?: string): void;
|
|
171
|
-
appendFormatted(value:
|
|
173
|
+
appendFormatted(value: unknown, alignment?: int, format?: string): void;
|
|
172
174
|
appendLiteral(value: string): void;
|
|
173
175
|
}
|
|
174
176
|
|
|
@@ -176,7 +178,7 @@ export class StringBuilder_AppendInterpolatedStringHandler$instance {
|
|
|
176
178
|
export type StringBuilder_AppendInterpolatedStringHandler = StringBuilder_AppendInterpolatedStringHandler$instance;
|
|
177
179
|
|
|
178
180
|
export class StringBuilder_ChunkEnumerator$instance {
|
|
179
|
-
readonly current: ReadOnlyMemory_1<CLROf<
|
|
181
|
+
readonly current: ReadOnlyMemory_1<CLROf<char>>;
|
|
180
182
|
getEnumerator(): StringBuilder_ChunkEnumerator;
|
|
181
183
|
moveNext(): boolean;
|
|
182
184
|
}
|
|
@@ -192,11 +194,11 @@ export class StringRuneEnumerator$instance {
|
|
|
192
194
|
|
|
193
195
|
|
|
194
196
|
export interface __StringRuneEnumerator$views {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<Rune>;
|
|
198
|
+
As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<Rune>;
|
|
199
|
+
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
200
|
+
As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
|
|
201
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
200
202
|
}
|
|
201
203
|
|
|
202
204
|
export type StringRuneEnumerator = StringRuneEnumerator$instance & __StringRuneEnumerator$views;
|
|
@@ -205,34 +207,34 @@ export type StringRuneEnumerator = StringRuneEnumerator$instance & __StringRuneE
|
|
|
205
207
|
export class ASCIIEncoding$instance extends Encoding$instance {
|
|
206
208
|
constructor();
|
|
207
209
|
readonly isSingleByte: boolean;
|
|
208
|
-
clone():
|
|
209
|
-
getByteCount(chars:
|
|
210
|
+
clone(): unknown;
|
|
211
|
+
getByteCount(chars: char[], index: int, count: int): int;
|
|
210
212
|
getByteCount(chars: string): int;
|
|
211
|
-
getByteCount(chars: ptr<
|
|
212
|
-
getByteCount(chars: ReadOnlySpan_1<CLROf<
|
|
213
|
-
getByteCount(chars:
|
|
213
|
+
getByteCount(chars: ptr<char>, count: int): int;
|
|
214
|
+
getByteCount(chars: ReadOnlySpan_1<CLROf<char>>): int;
|
|
215
|
+
getByteCount(chars: char[]): int;
|
|
214
216
|
getByteCount(s: string, index: int, count: int): int;
|
|
215
|
-
getByteCount(chars: ReadOnlySpan_1<CLROf<
|
|
217
|
+
getByteCount(chars: ReadOnlySpan_1<CLROf<char>>): int;
|
|
216
218
|
getBytes(chars: string, charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
217
|
-
getBytes(chars:
|
|
218
|
-
getBytes(chars: ptr<
|
|
219
|
-
getBytes(chars: ReadOnlySpan_1<CLROf<
|
|
220
|
-
getBytes(chars:
|
|
221
|
-
getBytes(chars:
|
|
219
|
+
getBytes(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
220
|
+
getBytes(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int): int;
|
|
221
|
+
getBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>): int;
|
|
222
|
+
getBytes(chars: char[]): byte[];
|
|
223
|
+
getBytes(chars: char[], index: int, count: int): byte[];
|
|
222
224
|
getBytes(s: string): byte[];
|
|
223
225
|
getBytes(s: string, index: int, count: int): byte[];
|
|
224
|
-
getBytes(chars: ReadOnlySpan_1<CLROf<
|
|
226
|
+
getBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>): int;
|
|
225
227
|
getCharCount(bytes: byte[], index: int, count: int): int;
|
|
226
228
|
getCharCount(bytes: ptr<byte>, count: int): int;
|
|
227
229
|
getCharCount(bytes: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
228
230
|
getCharCount(bytes: byte[]): int;
|
|
229
231
|
getCharCount(bytes: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
230
|
-
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars:
|
|
231
|
-
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<
|
|
232
|
-
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
233
|
-
getChars(bytes: byte[]):
|
|
234
|
-
getChars(bytes: byte[], index: int, count: int):
|
|
235
|
-
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
232
|
+
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int): int;
|
|
233
|
+
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int): int;
|
|
234
|
+
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>): int;
|
|
235
|
+
getChars(bytes: byte[]): char[];
|
|
236
|
+
getChars(bytes: byte[], index: int, count: int): char[];
|
|
237
|
+
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>): int;
|
|
236
238
|
getDecoder(): Decoder;
|
|
237
239
|
getEncoder(): Encoder;
|
|
238
240
|
getMaxByteCount(charCount: int): int;
|
|
@@ -241,15 +243,15 @@ export class ASCIIEncoding$instance extends Encoding$instance {
|
|
|
241
243
|
getString(bytes: ptr<byte>, byteCount: int): string;
|
|
242
244
|
getString(bytes: ReadOnlySpan_1<CLROf<byte>>): string;
|
|
243
245
|
getString(bytes: byte[]): string;
|
|
244
|
-
tryGetBytes(chars: ReadOnlySpan_1<CLROf<
|
|
245
|
-
tryGetBytes(chars: ReadOnlySpan_1<CLROf<
|
|
246
|
-
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
247
|
-
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
246
|
+
tryGetBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
247
|
+
tryGetBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
248
|
+
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
249
|
+
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
248
250
|
}
|
|
249
251
|
|
|
250
252
|
|
|
251
253
|
export interface __ASCIIEncoding$views {
|
|
252
|
-
|
|
254
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
253
255
|
}
|
|
254
256
|
|
|
255
257
|
export type ASCIIEncoding = ASCIIEncoding$instance & __ASCIIEncoding$views;
|
|
@@ -262,7 +264,7 @@ export class CodePagesEncodingProvider$instance extends EncodingProvider$instanc
|
|
|
262
264
|
getEncoding(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
|
|
263
265
|
getEncodings(): IEnumerable_1<EncodingInfo>;
|
|
264
266
|
getEncodings(): IEnumerable_1<EncodingInfo>;
|
|
265
|
-
static readonly
|
|
267
|
+
static readonly instance: EncodingProvider;
|
|
266
268
|
}
|
|
267
269
|
|
|
268
270
|
|
|
@@ -271,7 +273,7 @@ export type CodePagesEncodingProvider = CodePagesEncodingProvider$instance;
|
|
|
271
273
|
export class CompositeFormat$instance {
|
|
272
274
|
readonly format: string;
|
|
273
275
|
readonly minimumArgumentCount: int;
|
|
274
|
-
static
|
|
276
|
+
static parse(format: string): CompositeFormat;
|
|
275
277
|
}
|
|
276
278
|
|
|
277
279
|
|
|
@@ -280,17 +282,17 @@ export type CompositeFormat = CompositeFormat$instance;
|
|
|
280
282
|
export abstract class Decoder$instance {
|
|
281
283
|
fallback: DecoderFallback;
|
|
282
284
|
readonly fallbackBuffer: DecoderFallbackBuffer;
|
|
283
|
-
convert(bytes: byte[], byteIndex: int, byteCount: int, chars:
|
|
284
|
-
convert(bytes: ptr<byte>, byteCount: int, chars: ptr<
|
|
285
|
-
convert(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
285
|
+
convert(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int, charCount: int, flush: boolean, bytesUsed: { value: ref<int> }, charsUsed: { value: ref<int> }, completed: { value: ref<boolean> }): void;
|
|
286
|
+
convert(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int, flush: boolean, bytesUsed: { value: ref<int> }, charsUsed: { value: ref<int> }, completed: { value: ref<boolean> }): void;
|
|
287
|
+
convert(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>, flush: boolean, bytesUsed: { value: ref<int> }, charsUsed: { value: ref<int> }, completed: { value: ref<boolean> }): void;
|
|
286
288
|
getCharCount(bytes: byte[], index: int, count: int): int;
|
|
287
289
|
getCharCount(bytes: byte[], index: int, count: int, flush: boolean): int;
|
|
288
290
|
getCharCount(bytes: ptr<byte>, count: int, flush: boolean): int;
|
|
289
291
|
getCharCount(bytes: ReadOnlySpan_1<CLROf<byte>>, flush: boolean): int;
|
|
290
|
-
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars:
|
|
291
|
-
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars:
|
|
292
|
-
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<
|
|
293
|
-
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
292
|
+
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int): int;
|
|
293
|
+
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int, flush: boolean): int;
|
|
294
|
+
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int, flush: boolean): int;
|
|
295
|
+
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>, flush: boolean): int;
|
|
294
296
|
reset(): void;
|
|
295
297
|
}
|
|
296
298
|
|
|
@@ -301,7 +303,7 @@ export class DecoderExceptionFallback$instance extends DecoderFallback$instance
|
|
|
301
303
|
constructor();
|
|
302
304
|
readonly maxCharCount: int;
|
|
303
305
|
createFallbackBuffer(): DecoderFallbackBuffer;
|
|
304
|
-
equals(value:
|
|
306
|
+
equals(value: unknown): boolean;
|
|
305
307
|
getHashCode(): int;
|
|
306
308
|
}
|
|
307
309
|
|
|
@@ -312,7 +314,7 @@ export class DecoderExceptionFallbackBuffer$instance extends DecoderFallbackBuff
|
|
|
312
314
|
constructor();
|
|
313
315
|
readonly remaining: int;
|
|
314
316
|
fallback(bytesUnknown: byte[], index: int): boolean;
|
|
315
|
-
getNextChar():
|
|
317
|
+
getNextChar(): char;
|
|
316
318
|
movePrevious(): boolean;
|
|
317
319
|
}
|
|
318
320
|
|
|
@@ -322,8 +324,8 @@ export type DecoderExceptionFallbackBuffer = DecoderExceptionFallbackBuffer$inst
|
|
|
322
324
|
export abstract class DecoderFallback$instance {
|
|
323
325
|
readonly maxCharCount: int;
|
|
324
326
|
abstract createFallbackBuffer(): DecoderFallbackBuffer;
|
|
325
|
-
static readonly
|
|
326
|
-
static readonly
|
|
327
|
+
static readonly replacementFallback: DecoderFallback;
|
|
328
|
+
static readonly exceptionFallback: DecoderFallback;
|
|
327
329
|
}
|
|
328
330
|
|
|
329
331
|
|
|
@@ -332,7 +334,7 @@ export type DecoderFallback = DecoderFallback$instance;
|
|
|
332
334
|
export abstract class DecoderFallbackBuffer$instance {
|
|
333
335
|
readonly remaining: int;
|
|
334
336
|
abstract fallback(bytesUnknown: byte[], index: int): boolean;
|
|
335
|
-
abstract getNextChar():
|
|
337
|
+
abstract getNextChar(): char;
|
|
336
338
|
abstract movePrevious(): boolean;
|
|
337
339
|
reset(): void;
|
|
338
340
|
}
|
|
@@ -352,7 +354,7 @@ export class DecoderFallbackException$instance extends System_Internal.ArgumentE
|
|
|
352
354
|
|
|
353
355
|
|
|
354
356
|
export interface __DecoderFallbackException$views {
|
|
355
|
-
|
|
357
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
356
358
|
}
|
|
357
359
|
|
|
358
360
|
export type DecoderFallbackException = DecoderFallbackException$instance & __DecoderFallbackException$views;
|
|
@@ -364,7 +366,7 @@ export class DecoderReplacementFallback$instance extends DecoderFallback$instanc
|
|
|
364
366
|
readonly defaultString: string;
|
|
365
367
|
readonly maxCharCount: int;
|
|
366
368
|
createFallbackBuffer(): DecoderFallbackBuffer;
|
|
367
|
-
equals(value:
|
|
369
|
+
equals(value: unknown): boolean;
|
|
368
370
|
getHashCode(): int;
|
|
369
371
|
}
|
|
370
372
|
|
|
@@ -375,7 +377,7 @@ export class DecoderReplacementFallbackBuffer$instance extends DecoderFallbackBu
|
|
|
375
377
|
constructor(fallback: DecoderReplacementFallback);
|
|
376
378
|
readonly remaining: int;
|
|
377
379
|
fallback(bytesUnknown: byte[], index: int): boolean;
|
|
378
|
-
getNextChar():
|
|
380
|
+
getNextChar(): char;
|
|
379
381
|
movePrevious(): boolean;
|
|
380
382
|
reset(): void;
|
|
381
383
|
}
|
|
@@ -386,15 +388,15 @@ export type DecoderReplacementFallbackBuffer = DecoderReplacementFallbackBuffer$
|
|
|
386
388
|
export abstract class Encoder$instance {
|
|
387
389
|
fallback: EncoderFallback;
|
|
388
390
|
readonly fallbackBuffer: EncoderFallbackBuffer;
|
|
389
|
-
convert(chars:
|
|
390
|
-
convert(chars: ptr<
|
|
391
|
-
convert(chars: ReadOnlySpan_1<CLROf<
|
|
392
|
-
getByteCount(chars:
|
|
393
|
-
getByteCount(chars: ptr<
|
|
394
|
-
getByteCount(chars: ReadOnlySpan_1<CLROf<
|
|
395
|
-
getBytes(chars:
|
|
396
|
-
getBytes(chars: ptr<
|
|
397
|
-
getBytes(chars: ReadOnlySpan_1<CLROf<
|
|
391
|
+
convert(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int, byteCount: int, flush: boolean, charsUsed: { value: ref<int> }, bytesUsed: { value: ref<int> }, completed: { value: ref<boolean> }): void;
|
|
392
|
+
convert(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int, flush: boolean, charsUsed: { value: ref<int> }, bytesUsed: { value: ref<int> }, completed: { value: ref<boolean> }): void;
|
|
393
|
+
convert(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>, flush: boolean, charsUsed: { value: ref<int> }, bytesUsed: { value: ref<int> }, completed: { value: ref<boolean> }): void;
|
|
394
|
+
getByteCount(chars: char[], index: int, count: int, flush: boolean): int;
|
|
395
|
+
getByteCount(chars: ptr<char>, count: int, flush: boolean): int;
|
|
396
|
+
getByteCount(chars: ReadOnlySpan_1<CLROf<char>>, flush: boolean): int;
|
|
397
|
+
getBytes(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int, flush: boolean): int;
|
|
398
|
+
getBytes(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int, flush: boolean): int;
|
|
399
|
+
getBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>, flush: boolean): int;
|
|
398
400
|
reset(): void;
|
|
399
401
|
}
|
|
400
402
|
|
|
@@ -405,7 +407,7 @@ export class EncoderExceptionFallback$instance extends EncoderFallback$instance
|
|
|
405
407
|
constructor();
|
|
406
408
|
readonly maxCharCount: int;
|
|
407
409
|
createFallbackBuffer(): EncoderFallbackBuffer;
|
|
408
|
-
equals(value:
|
|
410
|
+
equals(value: unknown): boolean;
|
|
409
411
|
getHashCode(): int;
|
|
410
412
|
}
|
|
411
413
|
|
|
@@ -415,9 +417,9 @@ export type EncoderExceptionFallback = EncoderExceptionFallback$instance;
|
|
|
415
417
|
export class EncoderExceptionFallbackBuffer$instance extends EncoderFallbackBuffer$instance {
|
|
416
418
|
constructor();
|
|
417
419
|
readonly remaining: int;
|
|
418
|
-
fallback(charUnknown:
|
|
419
|
-
fallback(charUnknownHigh:
|
|
420
|
-
getNextChar():
|
|
420
|
+
fallback(charUnknown: char, index: int): boolean;
|
|
421
|
+
fallback(charUnknownHigh: char, charUnknownLow: char, index: int): boolean;
|
|
422
|
+
getNextChar(): char;
|
|
421
423
|
movePrevious(): boolean;
|
|
422
424
|
}
|
|
423
425
|
|
|
@@ -427,8 +429,8 @@ export type EncoderExceptionFallbackBuffer = EncoderExceptionFallbackBuffer$inst
|
|
|
427
429
|
export abstract class EncoderFallback$instance {
|
|
428
430
|
readonly maxCharCount: int;
|
|
429
431
|
abstract createFallbackBuffer(): EncoderFallbackBuffer;
|
|
430
|
-
static readonly
|
|
431
|
-
static readonly
|
|
432
|
+
static readonly replacementFallback: EncoderFallback;
|
|
433
|
+
static readonly exceptionFallback: EncoderFallback;
|
|
432
434
|
}
|
|
433
435
|
|
|
434
436
|
|
|
@@ -436,9 +438,9 @@ export type EncoderFallback = EncoderFallback$instance;
|
|
|
436
438
|
|
|
437
439
|
export abstract class EncoderFallbackBuffer$instance {
|
|
438
440
|
readonly remaining: int;
|
|
439
|
-
abstract fallback(charUnknown:
|
|
440
|
-
abstract fallback(charUnknownHigh:
|
|
441
|
-
abstract getNextChar():
|
|
441
|
+
abstract fallback(charUnknown: char, index: int): boolean;
|
|
442
|
+
abstract fallback(charUnknownHigh: char, charUnknownLow: char, index: int): boolean;
|
|
443
|
+
abstract getNextChar(): char;
|
|
442
444
|
abstract movePrevious(): boolean;
|
|
443
445
|
reset(): void;
|
|
444
446
|
}
|
|
@@ -450,9 +452,9 @@ export class EncoderFallbackException$instance extends System_Internal.ArgumentE
|
|
|
450
452
|
constructor();
|
|
451
453
|
constructor(message: string);
|
|
452
454
|
constructor(message: string, innerException: Exception);
|
|
453
|
-
readonly charUnknown:
|
|
454
|
-
readonly charUnknownHigh:
|
|
455
|
-
readonly charUnknownLow:
|
|
455
|
+
readonly charUnknown: char;
|
|
456
|
+
readonly charUnknownHigh: char;
|
|
457
|
+
readonly charUnknownLow: char;
|
|
456
458
|
readonly index: int;
|
|
457
459
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
458
460
|
isUnknownSurrogate(): boolean;
|
|
@@ -460,7 +462,7 @@ export class EncoderFallbackException$instance extends System_Internal.ArgumentE
|
|
|
460
462
|
|
|
461
463
|
|
|
462
464
|
export interface __EncoderFallbackException$views {
|
|
463
|
-
|
|
465
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
464
466
|
}
|
|
465
467
|
|
|
466
468
|
export type EncoderFallbackException = EncoderFallbackException$instance & __EncoderFallbackException$views;
|
|
@@ -472,7 +474,7 @@ export class EncoderReplacementFallback$instance extends EncoderFallback$instanc
|
|
|
472
474
|
readonly defaultString: string;
|
|
473
475
|
readonly maxCharCount: int;
|
|
474
476
|
createFallbackBuffer(): EncoderFallbackBuffer;
|
|
475
|
-
equals(value:
|
|
477
|
+
equals(value: unknown): boolean;
|
|
476
478
|
getHashCode(): int;
|
|
477
479
|
}
|
|
478
480
|
|
|
@@ -482,9 +484,9 @@ export type EncoderReplacementFallback = EncoderReplacementFallback$instance;
|
|
|
482
484
|
export class EncoderReplacementFallbackBuffer$instance extends EncoderFallbackBuffer$instance {
|
|
483
485
|
constructor(fallback: EncoderReplacementFallback);
|
|
484
486
|
readonly remaining: int;
|
|
485
|
-
fallback(charUnknown:
|
|
486
|
-
fallback(charUnknownHigh:
|
|
487
|
-
getNextChar():
|
|
487
|
+
fallback(charUnknown: char, index: int): boolean;
|
|
488
|
+
fallback(charUnknownHigh: char, charUnknownLow: char, index: int): boolean;
|
|
489
|
+
getNextChar(): char;
|
|
488
490
|
movePrevious(): boolean;
|
|
489
491
|
reset(): void;
|
|
490
492
|
}
|
|
@@ -508,31 +510,31 @@ export abstract class Encoding$instance {
|
|
|
508
510
|
readonly preamble: ReadOnlySpan_1<CLROf<byte>>;
|
|
509
511
|
readonly webName: string;
|
|
510
512
|
readonly windowsCodePage: int;
|
|
511
|
-
clone():
|
|
512
|
-
equals(value:
|
|
513
|
-
getByteCount(chars:
|
|
513
|
+
clone(): unknown;
|
|
514
|
+
equals(value: unknown): boolean;
|
|
515
|
+
getByteCount(chars: char[]): int;
|
|
514
516
|
getByteCount(s: string): int;
|
|
515
|
-
getByteCount(chars:
|
|
517
|
+
getByteCount(chars: char[], index: int, count: int): int;
|
|
516
518
|
getByteCount(s: string, index: int, count: int): int;
|
|
517
|
-
getByteCount(chars: ptr<
|
|
518
|
-
getByteCount(chars: ReadOnlySpan_1<CLROf<
|
|
519
|
-
getBytes(chars:
|
|
520
|
-
getBytes(chars:
|
|
521
|
-
getBytes(chars:
|
|
519
|
+
getByteCount(chars: ptr<char>, count: int): int;
|
|
520
|
+
getByteCount(chars: ReadOnlySpan_1<CLROf<char>>): int;
|
|
521
|
+
getBytes(chars: char[]): byte[];
|
|
522
|
+
getBytes(chars: char[], index: int, count: int): byte[];
|
|
523
|
+
getBytes(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
522
524
|
getBytes(s: string): byte[];
|
|
523
525
|
getBytes(s: string, index: int, count: int): byte[];
|
|
524
526
|
getBytes(s: string, charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
525
|
-
getBytes(chars: ptr<
|
|
526
|
-
getBytes(chars: ReadOnlySpan_1<CLROf<
|
|
527
|
+
getBytes(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int): int;
|
|
528
|
+
getBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>): int;
|
|
527
529
|
getCharCount(bytes: byte[]): int;
|
|
528
530
|
getCharCount(bytes: byte[], index: int, count: int): int;
|
|
529
531
|
getCharCount(bytes: ptr<byte>, count: int): int;
|
|
530
532
|
getCharCount(bytes: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
531
|
-
getChars(bytes: byte[]):
|
|
532
|
-
getChars(bytes: byte[], index: int, count: int):
|
|
533
|
-
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars:
|
|
534
|
-
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<
|
|
535
|
-
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
533
|
+
getChars(bytes: byte[]): char[];
|
|
534
|
+
getChars(bytes: byte[], index: int, count: int): char[];
|
|
535
|
+
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int): int;
|
|
536
|
+
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int): int;
|
|
537
|
+
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>): int;
|
|
536
538
|
getDecoder(): Decoder;
|
|
537
539
|
getEncoder(): Encoder;
|
|
538
540
|
getHashCode(): int;
|
|
@@ -545,32 +547,34 @@ export abstract class Encoding$instance {
|
|
|
545
547
|
getString(bytes: byte[], index: int, count: int): string;
|
|
546
548
|
isAlwaysNormalized(): boolean;
|
|
547
549
|
isAlwaysNormalized(form: NormalizationForm): boolean;
|
|
548
|
-
tryGetBytes(chars: ReadOnlySpan_1<CLROf<
|
|
549
|
-
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
550
|
-
static readonly
|
|
550
|
+
tryGetBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
551
|
+
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
552
|
+
static readonly default_: Encoding;
|
|
551
553
|
static readonly ASCII: Encoding;
|
|
552
|
-
static readonly
|
|
553
|
-
static readonly
|
|
554
|
-
static readonly
|
|
554
|
+
static readonly latin1: Encoding;
|
|
555
|
+
static readonly unicode: Encoding;
|
|
556
|
+
static readonly bigEndianUnicode: Encoding;
|
|
555
557
|
static readonly UTF7: Encoding;
|
|
556
558
|
static readonly UTF8: Encoding;
|
|
557
559
|
static readonly UTF32: Encoding;
|
|
558
|
-
static
|
|
559
|
-
static
|
|
560
|
-
static
|
|
561
|
-
static
|
|
562
|
-
static
|
|
563
|
-
static
|
|
564
|
-
static
|
|
565
|
-
static
|
|
566
|
-
static
|
|
560
|
+
static convert2(srcEncoding: Encoding, dstEncoding: Encoding, bytes: byte[], index: int, count: int): byte[];
|
|
561
|
+
static convert2(srcEncoding: Encoding, dstEncoding: Encoding, bytes: byte[]): byte[];
|
|
562
|
+
static createTranscodingStream(innerStream: Stream, innerStreamEncoding: Encoding, outerStreamEncoding: Encoding, leaveOpen?: boolean): Stream;
|
|
563
|
+
static getEncoding2(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
|
|
564
|
+
static getEncoding2(codepage: int): Encoding;
|
|
565
|
+
static getEncoding2(name: string, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
|
|
566
|
+
static getEncoding2(name: string): Encoding;
|
|
567
|
+
static getEncodings(): EncodingInfo[];
|
|
568
|
+
static registerProvider(provider: EncodingProvider): void;
|
|
567
569
|
}
|
|
568
570
|
|
|
569
571
|
|
|
570
572
|
export interface __Encoding$views {
|
|
571
|
-
|
|
573
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
572
574
|
}
|
|
573
575
|
|
|
576
|
+
export interface Encoding$instance extends System_Internal.ICloneable$instance {}
|
|
577
|
+
|
|
574
578
|
export type Encoding = Encoding$instance & __Encoding$views;
|
|
575
579
|
|
|
576
580
|
|
|
@@ -579,7 +583,7 @@ export class EncodingInfo$instance {
|
|
|
579
583
|
readonly codePage: int;
|
|
580
584
|
readonly displayName: string;
|
|
581
585
|
readonly name: string;
|
|
582
|
-
equals(value:
|
|
586
|
+
equals(value: unknown): boolean;
|
|
583
587
|
getEncoding(): Encoding;
|
|
584
588
|
getHashCode(): int;
|
|
585
589
|
}
|
|
@@ -607,17 +611,17 @@ export class StringBuilder$instance {
|
|
|
607
611
|
constructor(value: string, startIndex: int, length: int, capacity: int);
|
|
608
612
|
constructor(capacity: int, maxCapacity: int);
|
|
609
613
|
capacity: int;
|
|
610
|
-
chars:
|
|
614
|
+
chars: char;
|
|
611
615
|
length: int;
|
|
612
616
|
readonly maxCapacity: int;
|
|
613
|
-
append(value:
|
|
614
|
-
append(value:
|
|
617
|
+
append(value: char, repeatCount: int): StringBuilder;
|
|
618
|
+
append(value: char[], startIndex: int, charCount: int): StringBuilder;
|
|
615
619
|
append(value: string): StringBuilder;
|
|
616
620
|
append(value: string, startIndex: int, count: int): StringBuilder;
|
|
617
621
|
append(value: StringBuilder): StringBuilder;
|
|
618
622
|
append(value: StringBuilder, startIndex: int, count: int): StringBuilder;
|
|
619
623
|
append(value: boolean): StringBuilder;
|
|
620
|
-
append(value:
|
|
624
|
+
append(value: char): StringBuilder;
|
|
621
625
|
append(value: sbyte): StringBuilder;
|
|
622
626
|
append(value: byte): StringBuilder;
|
|
623
627
|
append(value: short): StringBuilder;
|
|
@@ -629,48 +633,48 @@ export class StringBuilder$instance {
|
|
|
629
633
|
append(value: ushort): StringBuilder;
|
|
630
634
|
append(value: uint): StringBuilder;
|
|
631
635
|
append(value: ulong): StringBuilder;
|
|
632
|
-
append(value:
|
|
633
|
-
append(value:
|
|
634
|
-
append(value: ReadOnlySpan_1<CLROf<
|
|
635
|
-
append(value: ReadOnlyMemory_1<CLROf<
|
|
636
|
+
append(value: unknown): StringBuilder;
|
|
637
|
+
append(value: char[]): StringBuilder;
|
|
638
|
+
append(value: ReadOnlySpan_1<CLROf<char>>): StringBuilder;
|
|
639
|
+
append(value: ReadOnlyMemory_1<CLROf<char>>): StringBuilder;
|
|
636
640
|
append(handler: { value: ref<StringBuilder_AppendInterpolatedStringHandler> }): StringBuilder;
|
|
637
641
|
append(provider: IFormatProvider, handler: { value: ref<StringBuilder_AppendInterpolatedStringHandler> }): StringBuilder;
|
|
638
|
-
append(value: ptr<
|
|
639
|
-
appendFormat(format: string, arg0:
|
|
640
|
-
appendFormat(format: string, arg0:
|
|
641
|
-
appendFormat(format: string, arg0:
|
|
642
|
-
appendFormat(format: string, args:
|
|
643
|
-
appendFormat(format: string, args: ReadOnlySpan_1<
|
|
644
|
-
appendFormat(provider: IFormatProvider, format: string, arg0:
|
|
645
|
-
appendFormat(provider: IFormatProvider, format: string, arg0:
|
|
646
|
-
appendFormat(provider: IFormatProvider, format: string, arg0:
|
|
647
|
-
appendFormat(provider: IFormatProvider, format: string, args:
|
|
648
|
-
appendFormat(provider: IFormatProvider, format: string, args: ReadOnlySpan_1<
|
|
642
|
+
append(value: ptr<char>, valueCount: int): StringBuilder;
|
|
643
|
+
appendFormat(format: string, arg0: unknown): StringBuilder;
|
|
644
|
+
appendFormat(format: string, arg0: unknown, arg1: unknown): StringBuilder;
|
|
645
|
+
appendFormat(format: string, arg0: unknown, arg1: unknown, arg2: unknown): StringBuilder;
|
|
646
|
+
appendFormat(format: string, args: unknown[]): StringBuilder;
|
|
647
|
+
appendFormat(format: string, args: ReadOnlySpan_1<unknown>): StringBuilder;
|
|
648
|
+
appendFormat(provider: IFormatProvider, format: string, arg0: unknown): StringBuilder;
|
|
649
|
+
appendFormat(provider: IFormatProvider, format: string, arg0: unknown, arg1: unknown): StringBuilder;
|
|
650
|
+
appendFormat(provider: IFormatProvider, format: string, arg0: unknown, arg1: unknown, arg2: unknown): StringBuilder;
|
|
651
|
+
appendFormat(provider: IFormatProvider, format: string, args: unknown[]): StringBuilder;
|
|
652
|
+
appendFormat(provider: IFormatProvider, format: string, args: ReadOnlySpan_1<unknown>): StringBuilder;
|
|
649
653
|
appendFormat<TArg0>(provider: IFormatProvider, format: CompositeFormat, arg0: TArg0): StringBuilder;
|
|
650
654
|
appendFormat<TArg0, TArg1>(provider: IFormatProvider, format: CompositeFormat, arg0: TArg0, arg1: TArg1): StringBuilder;
|
|
651
655
|
appendFormat<TArg0, TArg1, TArg2>(provider: IFormatProvider, format: CompositeFormat, arg0: TArg0, arg1: TArg1, arg2: TArg2): StringBuilder;
|
|
652
|
-
appendFormat(provider: IFormatProvider, format: CompositeFormat, args:
|
|
653
|
-
appendFormat(provider: IFormatProvider, format: CompositeFormat, args: ReadOnlySpan_1<
|
|
654
|
-
appendJoin(separator: string, values:
|
|
655
|
-
appendJoin(separator: string, values: ReadOnlySpan_1<
|
|
656
|
-
appendJoin<T>(separator: string, values: IEnumerable_1<T>): StringBuilder;
|
|
657
|
-
appendJoin(separator: string, values: string[]): StringBuilder;
|
|
658
|
-
appendJoin(separator: string, values: ReadOnlySpan_1<CLROf<string>>): StringBuilder;
|
|
659
|
-
appendJoin(separator: string, values: any[]): StringBuilder;
|
|
660
|
-
appendJoin(separator: string, values: ReadOnlySpan_1<any>): StringBuilder;
|
|
656
|
+
appendFormat(provider: IFormatProvider, format: CompositeFormat, args: unknown[]): StringBuilder;
|
|
657
|
+
appendFormat(provider: IFormatProvider, format: CompositeFormat, args: ReadOnlySpan_1<unknown>): StringBuilder;
|
|
658
|
+
appendJoin(separator: string, values: unknown[]): StringBuilder;
|
|
659
|
+
appendJoin(separator: string, values: ReadOnlySpan_1<unknown>): StringBuilder;
|
|
661
660
|
appendJoin<T>(separator: string, values: IEnumerable_1<T>): StringBuilder;
|
|
662
661
|
appendJoin(separator: string, values: string[]): StringBuilder;
|
|
663
662
|
appendJoin(separator: string, values: ReadOnlySpan_1<CLROf<string>>): StringBuilder;
|
|
663
|
+
appendJoin(separator: char, values: unknown[]): StringBuilder;
|
|
664
|
+
appendJoin(separator: char, values: ReadOnlySpan_1<unknown>): StringBuilder;
|
|
665
|
+
appendJoin<T>(separator: char, values: IEnumerable_1<T>): StringBuilder;
|
|
666
|
+
appendJoin(separator: char, values: string[]): StringBuilder;
|
|
667
|
+
appendJoin(separator: char, values: ReadOnlySpan_1<CLROf<string>>): StringBuilder;
|
|
664
668
|
appendLine(): StringBuilder;
|
|
665
669
|
appendLine(value: string): StringBuilder;
|
|
666
670
|
appendLine(handler: { value: ref<StringBuilder_AppendInterpolatedStringHandler> }): StringBuilder;
|
|
667
671
|
appendLine(provider: IFormatProvider, handler: { value: ref<StringBuilder_AppendInterpolatedStringHandler> }): StringBuilder;
|
|
668
672
|
clear(): StringBuilder;
|
|
669
|
-
copyTo(sourceIndex: int, destination:
|
|
670
|
-
copyTo(sourceIndex: int, destination: Span_1<CLROf<
|
|
673
|
+
copyTo(sourceIndex: int, destination: char[], destinationIndex: int, count: int): void;
|
|
674
|
+
copyTo(sourceIndex: int, destination: Span_1<CLROf<char>>, count: int): void;
|
|
671
675
|
ensureCapacity(capacity: int): int;
|
|
672
676
|
equals(sb: StringBuilder): boolean;
|
|
673
|
-
equals(span: ReadOnlySpan_1<CLROf<
|
|
677
|
+
equals(span: ReadOnlySpan_1<CLROf<char>>): boolean;
|
|
674
678
|
getChunks(): StringBuilder_ChunkEnumerator;
|
|
675
679
|
insert(index: int, value: string, count: int): StringBuilder;
|
|
676
680
|
insert(index: int, value: string): StringBuilder;
|
|
@@ -678,9 +682,9 @@ export class StringBuilder$instance {
|
|
|
678
682
|
insert(index: int, value: sbyte): StringBuilder;
|
|
679
683
|
insert(index: int, value: byte): StringBuilder;
|
|
680
684
|
insert(index: int, value: short): StringBuilder;
|
|
681
|
-
insert(index: int, value:
|
|
682
|
-
insert(index: int, value:
|
|
683
|
-
insert(index: int, value:
|
|
685
|
+
insert(index: int, value: char): StringBuilder;
|
|
686
|
+
insert(index: int, value: char[]): StringBuilder;
|
|
687
|
+
insert(index: int, value: char[], startIndex: int, charCount: int): StringBuilder;
|
|
684
688
|
insert(index: int, value: int): StringBuilder;
|
|
685
689
|
insert(index: int, value: long): StringBuilder;
|
|
686
690
|
insert(index: int, value: float): StringBuilder;
|
|
@@ -689,24 +693,26 @@ export class StringBuilder$instance {
|
|
|
689
693
|
insert(index: int, value: ushort): StringBuilder;
|
|
690
694
|
insert(index: int, value: uint): StringBuilder;
|
|
691
695
|
insert(index: int, value: ulong): StringBuilder;
|
|
692
|
-
insert(index: int, value:
|
|
693
|
-
insert(index: int, value: ReadOnlySpan_1<CLROf<
|
|
696
|
+
insert(index: int, value: unknown): StringBuilder;
|
|
697
|
+
insert(index: int, value: ReadOnlySpan_1<CLROf<char>>): StringBuilder;
|
|
694
698
|
remove(startIndex: int, length: int): StringBuilder;
|
|
695
699
|
replace(oldValue: string, newValue: string): StringBuilder;
|
|
696
|
-
replace(oldValue: ReadOnlySpan_1<CLROf<
|
|
700
|
+
replace(oldValue: ReadOnlySpan_1<CLROf<char>>, newValue: ReadOnlySpan_1<CLROf<char>>): StringBuilder;
|
|
697
701
|
replace(oldValue: string, newValue: string, startIndex: int, count: int): StringBuilder;
|
|
698
|
-
replace(oldValue: ReadOnlySpan_1<CLROf<
|
|
699
|
-
replace(oldChar:
|
|
700
|
-
replace(oldChar:
|
|
702
|
+
replace(oldValue: ReadOnlySpan_1<CLROf<char>>, newValue: ReadOnlySpan_1<CLROf<char>>, startIndex: int, count: int): StringBuilder;
|
|
703
|
+
replace(oldChar: char, newChar: char): StringBuilder;
|
|
704
|
+
replace(oldChar: char, newChar: char, startIndex: int, count: int): StringBuilder;
|
|
701
705
|
toString(): string;
|
|
702
706
|
toString(startIndex: int, length: int): string;
|
|
703
707
|
}
|
|
704
708
|
|
|
705
709
|
|
|
706
710
|
export interface __StringBuilder$views {
|
|
707
|
-
|
|
711
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
708
712
|
}
|
|
709
713
|
|
|
714
|
+
export interface StringBuilder$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
|
|
715
|
+
|
|
710
716
|
export type StringBuilder = StringBuilder$instance & __StringBuilder$views;
|
|
711
717
|
|
|
712
718
|
|
|
@@ -715,31 +721,31 @@ export class UnicodeEncoding$instance extends Encoding$instance {
|
|
|
715
721
|
constructor(bigEndian: boolean, byteOrderMark: boolean);
|
|
716
722
|
constructor(bigEndian: boolean, byteOrderMark: boolean, throwOnInvalidBytes: boolean);
|
|
717
723
|
readonly preamble: ReadOnlySpan_1<CLROf<byte>>;
|
|
718
|
-
clone():
|
|
719
|
-
equals(value:
|
|
720
|
-
getByteCount(chars:
|
|
724
|
+
clone(): unknown;
|
|
725
|
+
equals(value: unknown): boolean;
|
|
726
|
+
getByteCount(chars: char[], index: int, count: int): int;
|
|
721
727
|
getByteCount(s: string): int;
|
|
722
|
-
getByteCount(chars: ptr<
|
|
723
|
-
getByteCount(chars:
|
|
728
|
+
getByteCount(chars: ptr<char>, count: int): int;
|
|
729
|
+
getByteCount(chars: char[]): int;
|
|
724
730
|
getByteCount(s: string, index: int, count: int): int;
|
|
725
|
-
getByteCount(chars: ReadOnlySpan_1<CLROf<
|
|
731
|
+
getByteCount(chars: ReadOnlySpan_1<CLROf<char>>): int;
|
|
726
732
|
getBytes(s: string, charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
727
|
-
getBytes(chars:
|
|
728
|
-
getBytes(chars: ptr<
|
|
729
|
-
getBytes(chars:
|
|
730
|
-
getBytes(chars:
|
|
733
|
+
getBytes(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
734
|
+
getBytes(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int): int;
|
|
735
|
+
getBytes(chars: char[]): byte[];
|
|
736
|
+
getBytes(chars: char[], index: int, count: int): byte[];
|
|
731
737
|
getBytes(s: string): byte[];
|
|
732
738
|
getBytes(s: string, index: int, count: int): byte[];
|
|
733
|
-
getBytes(chars: ReadOnlySpan_1<CLROf<
|
|
739
|
+
getBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>): int;
|
|
734
740
|
getCharCount(bytes: byte[], index: int, count: int): int;
|
|
735
741
|
getCharCount(bytes: ptr<byte>, count: int): int;
|
|
736
742
|
getCharCount(bytes: byte[]): int;
|
|
737
743
|
getCharCount(bytes: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
738
|
-
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars:
|
|
739
|
-
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<
|
|
740
|
-
getChars(bytes: byte[]):
|
|
741
|
-
getChars(bytes: byte[], index: int, count: int):
|
|
742
|
-
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
744
|
+
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int): int;
|
|
745
|
+
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int): int;
|
|
746
|
+
getChars(bytes: byte[]): char[];
|
|
747
|
+
getChars(bytes: byte[], index: int, count: int): char[];
|
|
748
|
+
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>): int;
|
|
743
749
|
getDecoder(): Decoder;
|
|
744
750
|
getEncoder(): Encoder;
|
|
745
751
|
getHashCode(): int;
|
|
@@ -750,12 +756,12 @@ export class UnicodeEncoding$instance extends Encoding$instance {
|
|
|
750
756
|
getString(bytes: ptr<byte>, byteCount: int): string;
|
|
751
757
|
getString(bytes: ReadOnlySpan_1<CLROf<byte>>): string;
|
|
752
758
|
getString(bytes: byte[]): string;
|
|
753
|
-
static readonly
|
|
759
|
+
static readonly charSize: int;
|
|
754
760
|
}
|
|
755
761
|
|
|
756
762
|
|
|
757
763
|
export interface __UnicodeEncoding$views {
|
|
758
|
-
|
|
764
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
759
765
|
}
|
|
760
766
|
|
|
761
767
|
export type UnicodeEncoding = UnicodeEncoding$instance & __UnicodeEncoding$views;
|
|
@@ -766,31 +772,31 @@ export class UTF32Encoding$instance extends Encoding$instance {
|
|
|
766
772
|
constructor(bigEndian: boolean, byteOrderMark: boolean);
|
|
767
773
|
constructor(bigEndian: boolean, byteOrderMark: boolean, throwOnInvalidCharacters: boolean);
|
|
768
774
|
readonly preamble: ReadOnlySpan_1<CLROf<byte>>;
|
|
769
|
-
clone():
|
|
770
|
-
equals(value:
|
|
771
|
-
getByteCount(chars:
|
|
775
|
+
clone(): unknown;
|
|
776
|
+
equals(value: unknown): boolean;
|
|
777
|
+
getByteCount(chars: char[], index: int, count: int): int;
|
|
772
778
|
getByteCount(s: string): int;
|
|
773
|
-
getByteCount(chars: ptr<
|
|
774
|
-
getByteCount(chars:
|
|
779
|
+
getByteCount(chars: ptr<char>, count: int): int;
|
|
780
|
+
getByteCount(chars: char[]): int;
|
|
775
781
|
getByteCount(s: string, index: int, count: int): int;
|
|
776
|
-
getByteCount(chars: ReadOnlySpan_1<CLROf<
|
|
782
|
+
getByteCount(chars: ReadOnlySpan_1<CLROf<char>>): int;
|
|
777
783
|
getBytes(s: string, charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
778
|
-
getBytes(chars:
|
|
779
|
-
getBytes(chars: ptr<
|
|
780
|
-
getBytes(chars:
|
|
781
|
-
getBytes(chars:
|
|
784
|
+
getBytes(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
785
|
+
getBytes(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int): int;
|
|
786
|
+
getBytes(chars: char[]): byte[];
|
|
787
|
+
getBytes(chars: char[], index: int, count: int): byte[];
|
|
782
788
|
getBytes(s: string): byte[];
|
|
783
789
|
getBytes(s: string, index: int, count: int): byte[];
|
|
784
|
-
getBytes(chars: ReadOnlySpan_1<CLROf<
|
|
790
|
+
getBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>): int;
|
|
785
791
|
getCharCount(bytes: byte[], index: int, count: int): int;
|
|
786
792
|
getCharCount(bytes: ptr<byte>, count: int): int;
|
|
787
793
|
getCharCount(bytes: byte[]): int;
|
|
788
794
|
getCharCount(bytes: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
789
|
-
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars:
|
|
790
|
-
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<
|
|
791
|
-
getChars(bytes: byte[]):
|
|
792
|
-
getChars(bytes: byte[], index: int, count: int):
|
|
793
|
-
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
795
|
+
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int): int;
|
|
796
|
+
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int): int;
|
|
797
|
+
getChars(bytes: byte[]): char[];
|
|
798
|
+
getChars(bytes: byte[], index: int, count: int): char[];
|
|
799
|
+
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>): int;
|
|
794
800
|
getDecoder(): Decoder;
|
|
795
801
|
getEncoder(): Encoder;
|
|
796
802
|
getHashCode(): int;
|
|
@@ -805,7 +811,7 @@ export class UTF32Encoding$instance extends Encoding$instance {
|
|
|
805
811
|
|
|
806
812
|
|
|
807
813
|
export interface __UTF32Encoding$views {
|
|
808
|
-
|
|
814
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
809
815
|
}
|
|
810
816
|
|
|
811
817
|
export type UTF32Encoding = UTF32Encoding$instance & __UTF32Encoding$views;
|
|
@@ -814,31 +820,31 @@ export type UTF32Encoding = UTF32Encoding$instance & __UTF32Encoding$views;
|
|
|
814
820
|
export class UTF7Encoding$instance extends Encoding$instance {
|
|
815
821
|
constructor();
|
|
816
822
|
constructor(allowOptionals: boolean);
|
|
817
|
-
clone():
|
|
818
|
-
equals(value:
|
|
819
|
-
getByteCount(chars:
|
|
823
|
+
clone(): unknown;
|
|
824
|
+
equals(value: unknown): boolean;
|
|
825
|
+
getByteCount(chars: char[], index: int, count: int): int;
|
|
820
826
|
getByteCount(s: string): int;
|
|
821
|
-
getByteCount(chars: ptr<
|
|
822
|
-
getByteCount(chars:
|
|
827
|
+
getByteCount(chars: ptr<char>, count: int): int;
|
|
828
|
+
getByteCount(chars: char[]): int;
|
|
823
829
|
getByteCount(s: string, index: int, count: int): int;
|
|
824
|
-
getByteCount(chars: ReadOnlySpan_1<CLROf<
|
|
830
|
+
getByteCount(chars: ReadOnlySpan_1<CLROf<char>>): int;
|
|
825
831
|
getBytes(s: string, charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
826
|
-
getBytes(chars:
|
|
827
|
-
getBytes(chars: ptr<
|
|
828
|
-
getBytes(chars:
|
|
829
|
-
getBytes(chars:
|
|
832
|
+
getBytes(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
833
|
+
getBytes(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int): int;
|
|
834
|
+
getBytes(chars: char[]): byte[];
|
|
835
|
+
getBytes(chars: char[], index: int, count: int): byte[];
|
|
830
836
|
getBytes(s: string): byte[];
|
|
831
837
|
getBytes(s: string, index: int, count: int): byte[];
|
|
832
|
-
getBytes(chars: ReadOnlySpan_1<CLROf<
|
|
838
|
+
getBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>): int;
|
|
833
839
|
getCharCount(bytes: byte[], index: int, count: int): int;
|
|
834
840
|
getCharCount(bytes: ptr<byte>, count: int): int;
|
|
835
841
|
getCharCount(bytes: byte[]): int;
|
|
836
842
|
getCharCount(bytes: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
837
|
-
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars:
|
|
838
|
-
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<
|
|
839
|
-
getChars(bytes: byte[]):
|
|
840
|
-
getChars(bytes: byte[], index: int, count: int):
|
|
841
|
-
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
843
|
+
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int): int;
|
|
844
|
+
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int): int;
|
|
845
|
+
getChars(bytes: byte[]): char[];
|
|
846
|
+
getChars(bytes: byte[], index: int, count: int): char[];
|
|
847
|
+
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>): int;
|
|
842
848
|
getDecoder(): Decoder;
|
|
843
849
|
getEncoder(): Encoder;
|
|
844
850
|
getHashCode(): int;
|
|
@@ -852,7 +858,7 @@ export class UTF7Encoding$instance extends Encoding$instance {
|
|
|
852
858
|
|
|
853
859
|
|
|
854
860
|
export interface __UTF7Encoding$views {
|
|
855
|
-
|
|
861
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
856
862
|
}
|
|
857
863
|
|
|
858
864
|
export type UTF7Encoding = UTF7Encoding$instance & __UTF7Encoding$views;
|
|
@@ -863,35 +869,35 @@ export class UTF8Encoding$instance extends Encoding$instance {
|
|
|
863
869
|
constructor(encoderShouldEmitUTF8Identifier: boolean);
|
|
864
870
|
constructor(encoderShouldEmitUTF8Identifier: boolean, throwOnInvalidBytes: boolean);
|
|
865
871
|
readonly preamble: ReadOnlySpan_1<CLROf<byte>>;
|
|
866
|
-
clone():
|
|
867
|
-
equals(value:
|
|
868
|
-
getByteCount(chars:
|
|
872
|
+
clone(): unknown;
|
|
873
|
+
equals(value: unknown): boolean;
|
|
874
|
+
getByteCount(chars: char[], index: int, count: int): int;
|
|
869
875
|
getByteCount(chars: string): int;
|
|
870
|
-
getByteCount(chars: ptr<
|
|
871
|
-
getByteCount(chars: ReadOnlySpan_1<CLROf<
|
|
872
|
-
getByteCount(chars:
|
|
876
|
+
getByteCount(chars: ptr<char>, count: int): int;
|
|
877
|
+
getByteCount(chars: ReadOnlySpan_1<CLROf<char>>): int;
|
|
878
|
+
getByteCount(chars: char[]): int;
|
|
873
879
|
getByteCount(s: string, index: int, count: int): int;
|
|
874
|
-
getByteCount(chars: ReadOnlySpan_1<CLROf<
|
|
880
|
+
getByteCount(chars: ReadOnlySpan_1<CLROf<char>>): int;
|
|
875
881
|
getBytes(s: string, charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
876
|
-
getBytes(chars:
|
|
877
|
-
getBytes(chars: ptr<
|
|
878
|
-
getBytes(chars: ReadOnlySpan_1<CLROf<
|
|
879
|
-
getBytes(chars:
|
|
880
|
-
getBytes(chars:
|
|
882
|
+
getBytes(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int): int;
|
|
883
|
+
getBytes(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int): int;
|
|
884
|
+
getBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>): int;
|
|
885
|
+
getBytes(chars: char[]): byte[];
|
|
886
|
+
getBytes(chars: char[], index: int, count: int): byte[];
|
|
881
887
|
getBytes(s: string): byte[];
|
|
882
888
|
getBytes(s: string, index: int, count: int): byte[];
|
|
883
|
-
getBytes(chars: ReadOnlySpan_1<CLROf<
|
|
889
|
+
getBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>): int;
|
|
884
890
|
getCharCount(bytes: byte[], index: int, count: int): int;
|
|
885
891
|
getCharCount(bytes: ptr<byte>, count: int): int;
|
|
886
892
|
getCharCount(bytes: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
887
893
|
getCharCount(bytes: byte[]): int;
|
|
888
894
|
getCharCount(bytes: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
889
|
-
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars:
|
|
890
|
-
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<
|
|
891
|
-
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
892
|
-
getChars(bytes: byte[]):
|
|
893
|
-
getChars(bytes: byte[], index: int, count: int):
|
|
894
|
-
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
895
|
+
getChars(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int): int;
|
|
896
|
+
getChars(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int): int;
|
|
897
|
+
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>): int;
|
|
898
|
+
getChars(bytes: byte[]): char[];
|
|
899
|
+
getChars(bytes: byte[], index: int, count: int): char[];
|
|
900
|
+
getChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>): int;
|
|
895
901
|
getDecoder(): Decoder;
|
|
896
902
|
getEncoder(): Encoder;
|
|
897
903
|
getHashCode(): int;
|
|
@@ -902,71 +908,71 @@ export class UTF8Encoding$instance extends Encoding$instance {
|
|
|
902
908
|
getString(bytes: ptr<byte>, byteCount: int): string;
|
|
903
909
|
getString(bytes: ReadOnlySpan_1<CLROf<byte>>): string;
|
|
904
910
|
getString(bytes: byte[]): string;
|
|
905
|
-
tryGetBytes(chars: ReadOnlySpan_1<CLROf<
|
|
906
|
-
tryGetBytes(chars: ReadOnlySpan_1<CLROf<
|
|
907
|
-
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
908
|
-
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<
|
|
911
|
+
tryGetBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
912
|
+
tryGetBytes(chars: ReadOnlySpan_1<CLROf<char>>, bytes: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
913
|
+
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
914
|
+
tryGetChars(bytes: ReadOnlySpan_1<CLROf<byte>>, chars: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
|
|
909
915
|
}
|
|
910
916
|
|
|
911
917
|
|
|
912
918
|
export interface __UTF8Encoding$views {
|
|
913
|
-
|
|
919
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
914
920
|
}
|
|
915
921
|
|
|
916
922
|
export type UTF8Encoding = UTF8Encoding$instance & __UTF8Encoding$views;
|
|
917
923
|
|
|
918
924
|
|
|
919
925
|
export abstract class Ascii$instance {
|
|
920
|
-
static
|
|
921
|
-
static
|
|
922
|
-
static
|
|
923
|
-
static
|
|
924
|
-
static
|
|
925
|
-
static
|
|
926
|
-
static
|
|
927
|
-
static
|
|
928
|
-
static
|
|
929
|
-
static
|
|
930
|
-
static
|
|
931
|
-
static
|
|
932
|
-
static
|
|
933
|
-
static
|
|
934
|
-
static
|
|
935
|
-
static
|
|
936
|
-
static
|
|
937
|
-
static
|
|
938
|
-
static
|
|
939
|
-
static
|
|
940
|
-
static
|
|
941
|
-
static
|
|
942
|
-
static
|
|
943
|
-
static
|
|
944
|
-
static
|
|
945
|
-
static
|
|
946
|
-
static
|
|
947
|
-
static
|
|
948
|
-
static
|
|
949
|
-
static
|
|
950
|
-
static
|
|
951
|
-
static
|
|
926
|
+
static equals(left: ReadOnlySpan_1<CLROf<byte>>, right: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
927
|
+
static equals(left: ReadOnlySpan_1<CLROf<byte>>, right: ReadOnlySpan_1<CLROf<char>>): boolean;
|
|
928
|
+
static equals(left: ReadOnlySpan_1<CLROf<char>>, right: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
929
|
+
static equals(left: ReadOnlySpan_1<CLROf<char>>, right: ReadOnlySpan_1<CLROf<char>>): boolean;
|
|
930
|
+
static equalsIgnoreCase(left: ReadOnlySpan_1<CLROf<byte>>, right: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
931
|
+
static equalsIgnoreCase(left: ReadOnlySpan_1<CLROf<byte>>, right: ReadOnlySpan_1<CLROf<char>>): boolean;
|
|
932
|
+
static equalsIgnoreCase(left: ReadOnlySpan_1<CLROf<char>>, right: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
933
|
+
static equalsIgnoreCase(left: ReadOnlySpan_1<CLROf<char>>, right: ReadOnlySpan_1<CLROf<char>>): boolean;
|
|
934
|
+
static fromUtf16(source: ReadOnlySpan_1<CLROf<char>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): OperationStatus;
|
|
935
|
+
static isValid3(value: byte): boolean;
|
|
936
|
+
static isValid3(value: char): boolean;
|
|
937
|
+
static isValid3(value: ReadOnlySpan_1<CLROf<byte>>): boolean;
|
|
938
|
+
static isValid3(value: ReadOnlySpan_1<CLROf<char>>): boolean;
|
|
939
|
+
static toLower(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): OperationStatus;
|
|
940
|
+
static toLower(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): OperationStatus;
|
|
941
|
+
static toLower(source: ReadOnlySpan_1<CLROf<char>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): OperationStatus;
|
|
942
|
+
static toLower(source: ReadOnlySpan_1<CLROf<char>>, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): OperationStatus;
|
|
943
|
+
static toLowerInPlace(value: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): OperationStatus;
|
|
944
|
+
static toLowerInPlace(value: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): OperationStatus;
|
|
945
|
+
static toUpper(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): OperationStatus;
|
|
946
|
+
static toUpper(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): OperationStatus;
|
|
947
|
+
static toUpper(source: ReadOnlySpan_1<CLROf<char>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): OperationStatus;
|
|
948
|
+
static toUpper(source: ReadOnlySpan_1<CLROf<char>>, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): OperationStatus;
|
|
949
|
+
static toUpperInPlace(value: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): OperationStatus;
|
|
950
|
+
static toUpperInPlace(value: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): OperationStatus;
|
|
951
|
+
static toUtf16(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): OperationStatus;
|
|
952
|
+
static trim(value: ReadOnlySpan_1<CLROf<byte>>): Range;
|
|
953
|
+
static trim(value: ReadOnlySpan_1<CLROf<char>>): Range;
|
|
954
|
+
static trimEnd(value: ReadOnlySpan_1<CLROf<byte>>): Range;
|
|
955
|
+
static trimEnd(value: ReadOnlySpan_1<CLROf<char>>): Range;
|
|
956
|
+
static trimStart(value: ReadOnlySpan_1<CLROf<byte>>): Range;
|
|
957
|
+
static trimStart(value: ReadOnlySpan_1<CLROf<char>>): Range;
|
|
952
958
|
}
|
|
953
959
|
|
|
954
960
|
|
|
955
961
|
export type Ascii = Ascii$instance;
|
|
956
962
|
|
|
957
963
|
export abstract class EncodingExtensions$instance {
|
|
958
|
-
static
|
|
959
|
-
static
|
|
960
|
-
static
|
|
961
|
-
static
|
|
962
|
-
static
|
|
963
|
-
static
|
|
964
|
-
static
|
|
965
|
-
static
|
|
966
|
-
static
|
|
967
|
-
static
|
|
968
|
-
static
|
|
969
|
-
static
|
|
964
|
+
static convert4(decoder: Decoder, bytes: { value: ref<ReadOnlySequence_1<CLROf<byte>>> }, writer: IBufferWriter_1<CLROf<char>>, flush: boolean, charsUsed: { value: ref<long> }, completed: { value: ref<boolean> }): void;
|
|
965
|
+
static convert4(decoder: Decoder, bytes: ReadOnlySpan_1<CLROf<byte>>, writer: IBufferWriter_1<CLROf<char>>, flush: boolean, charsUsed: { value: ref<long> }, completed: { value: ref<boolean> }): void;
|
|
966
|
+
static convert4(encoder: Encoder, chars: { value: ref<ReadOnlySequence_1<CLROf<char>>> }, writer: IBufferWriter_1<CLROf<byte>>, flush: boolean, bytesUsed: { value: ref<long> }, completed: { value: ref<boolean> }): void;
|
|
967
|
+
static convert4(encoder: Encoder, chars: ReadOnlySpan_1<CLROf<char>>, writer: IBufferWriter_1<CLROf<byte>>, flush: boolean, bytesUsed: { value: ref<long> }, completed: { value: ref<boolean> }): void;
|
|
968
|
+
static getBytes2(encoding: Encoding, chars: { value: ref<ReadOnlySequence_1<CLROf<char>>> }, writer: IBufferWriter_1<CLROf<byte>>): long;
|
|
969
|
+
static getBytes2(encoding: Encoding, chars: { value: ref<ReadOnlySequence_1<CLROf<char>>> }, bytes: Span_1<CLROf<byte>>): int;
|
|
970
|
+
static getBytes2(encoding: Encoding, chars: { value: ref<ReadOnlySequence_1<CLROf<char>>> }): byte[];
|
|
971
|
+
static getBytes2(encoding: Encoding, chars: ReadOnlySpan_1<CLROf<char>>, writer: IBufferWriter_1<CLROf<byte>>): long;
|
|
972
|
+
static getChars2(encoding: Encoding, bytes: { value: ref<ReadOnlySequence_1<CLROf<byte>>> }, writer: IBufferWriter_1<CLROf<char>>): long;
|
|
973
|
+
static getChars2(encoding: Encoding, bytes: { value: ref<ReadOnlySequence_1<CLROf<byte>>> }, chars: Span_1<CLROf<char>>): int;
|
|
974
|
+
static getChars2(encoding: Encoding, bytes: ReadOnlySpan_1<CLROf<byte>>, writer: IBufferWriter_1<CLROf<char>>): long;
|
|
975
|
+
static getString(encoding: Encoding, bytes: { value: ref<ReadOnlySequence_1<CLROf<byte>>> }): string;
|
|
970
976
|
}
|
|
971
977
|
|
|
972
978
|
|