@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
|
@@ -50,25 +50,27 @@ export enum OperationStatus {
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
export interface IBufferWriter_1$instance<T> {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
advance(count: int): void;
|
|
54
|
+
getMemory(sizeHint?: int): Memory_1<T>;
|
|
55
|
+
getSpan(sizeHint?: int): Span_1<T>;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
export type IBufferWriter_1<T> = IBufferWriter_1$instance<T>;
|
|
60
60
|
|
|
61
|
-
export interface IMemoryOwner_1$instance<T> {
|
|
62
|
-
readonly
|
|
63
|
-
|
|
61
|
+
export interface IMemoryOwner_1$instance<T> extends IDisposable {
|
|
62
|
+
readonly memory: Memory_1<T>;
|
|
63
|
+
dispose(): void;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
|
|
67
|
+
export interface IMemoryOwner_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
68
|
+
|
|
67
69
|
export type IMemoryOwner_1<T> = IMemoryOwner_1$instance<T>;
|
|
68
70
|
|
|
69
71
|
export interface IPinnable$instance {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
pin(elementIndex: int): MemoryHandle;
|
|
73
|
+
unpin(): void;
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
|
|
@@ -82,9 +84,11 @@ export class MemoryHandle$instance {
|
|
|
82
84
|
|
|
83
85
|
|
|
84
86
|
export interface __MemoryHandle$views {
|
|
85
|
-
|
|
87
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
86
88
|
}
|
|
87
89
|
|
|
90
|
+
export interface MemoryHandle$instance extends System_Internal.IDisposable$instance {}
|
|
91
|
+
|
|
88
92
|
export type MemoryHandle = MemoryHandle$instance & __MemoryHandle$views;
|
|
89
93
|
|
|
90
94
|
|
|
@@ -173,25 +177,25 @@ export class SequenceReader_1$instance<T extends IEquatable_1<T>> {
|
|
|
173
177
|
export type SequenceReader_1<T extends IEquatable_1<T>> = SequenceReader_1$instance<T>;
|
|
174
178
|
|
|
175
179
|
export class StandardFormat$instance {
|
|
176
|
-
constructor(symbol_:
|
|
180
|
+
constructor(symbol_: char, precision: byte);
|
|
177
181
|
readonly hasPrecision: boolean;
|
|
178
182
|
readonly isDefault: boolean;
|
|
179
183
|
readonly precision: byte;
|
|
180
|
-
readonly symbol_:
|
|
181
|
-
equals(obj:
|
|
184
|
+
readonly symbol_: char;
|
|
185
|
+
equals(obj: unknown): boolean;
|
|
182
186
|
equals(other: StandardFormat): boolean;
|
|
183
187
|
getHashCode(): int;
|
|
184
188
|
toString(): string;
|
|
185
|
-
static readonly
|
|
186
|
-
static readonly
|
|
187
|
-
static
|
|
188
|
-
static
|
|
189
|
-
static
|
|
189
|
+
static readonly noPrecision: byte;
|
|
190
|
+
static readonly maxPrecision: byte;
|
|
191
|
+
static parse(format: ReadOnlySpan_1<CLROf<char>>): StandardFormat;
|
|
192
|
+
static parse(format: string): StandardFormat;
|
|
193
|
+
static tryParse(format: ReadOnlySpan_1<CLROf<char>>, result: { value: ref<StandardFormat> }): boolean;
|
|
190
194
|
}
|
|
191
195
|
|
|
192
196
|
|
|
193
197
|
export interface __StandardFormat$views {
|
|
194
|
-
|
|
198
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<StandardFormat>;
|
|
195
199
|
|
|
196
200
|
// Structural method bridges for numeric interface constraints
|
|
197
201
|
Equals(other: StandardFormat): boolean;
|
|
@@ -217,18 +221,20 @@ export class ArrayBufferWriter_1$instance<T> {
|
|
|
217
221
|
|
|
218
222
|
|
|
219
223
|
export interface __ArrayBufferWriter_1$views<T> {
|
|
220
|
-
|
|
224
|
+
As_IBufferWriter_1(): IBufferWriter_1$instance<T>;
|
|
221
225
|
}
|
|
222
226
|
|
|
227
|
+
export interface ArrayBufferWriter_1$instance<T> extends IBufferWriter_1$instance<T> {}
|
|
228
|
+
|
|
223
229
|
export type ArrayBufferWriter_1<T> = ArrayBufferWriter_1$instance<T> & __ArrayBufferWriter_1$views<T>;
|
|
224
230
|
|
|
225
231
|
|
|
226
232
|
export abstract class ArrayPool_1$instance<T> {
|
|
227
233
|
abstract rent(minimumLength: int): T[];
|
|
228
234
|
abstract return_(array: T[], clearArray?: boolean): void;
|
|
229
|
-
static readonly
|
|
230
|
-
static
|
|
231
|
-
static
|
|
235
|
+
static readonly shared: unknown;
|
|
236
|
+
static create<T>(): ArrayPool_1<T>;
|
|
237
|
+
static create<T>(maxArrayLength: int, maxArraysPerBucket: int): ArrayPool_1<T>;
|
|
232
238
|
}
|
|
233
239
|
|
|
234
240
|
|
|
@@ -243,11 +249,13 @@ export abstract class MemoryManager_1$instance<T> {
|
|
|
243
249
|
|
|
244
250
|
|
|
245
251
|
export interface __MemoryManager_1$views<T> {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
252
|
+
As_IMemoryOwner_1(): IMemoryOwner_1$instance<T>;
|
|
253
|
+
As_IPinnable(): IPinnable$instance;
|
|
254
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
249
255
|
}
|
|
250
256
|
|
|
257
|
+
export interface MemoryManager_1$instance<T> extends IMemoryOwner_1$instance<T> {}
|
|
258
|
+
|
|
251
259
|
export type MemoryManager_1<T> = MemoryManager_1$instance<T> & __MemoryManager_1$views<T>;
|
|
252
260
|
|
|
253
261
|
|
|
@@ -255,14 +263,16 @@ export abstract class MemoryPool_1$instance<T> {
|
|
|
255
263
|
readonly maxBufferSize: int;
|
|
256
264
|
dispose(): void;
|
|
257
265
|
abstract rent(minBufferSize?: int): IMemoryOwner_1<T>;
|
|
258
|
-
static readonly
|
|
266
|
+
static readonly shared: unknown;
|
|
259
267
|
}
|
|
260
268
|
|
|
261
269
|
|
|
262
270
|
export interface __MemoryPool_1$views<T> {
|
|
263
|
-
|
|
271
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
264
272
|
}
|
|
265
273
|
|
|
274
|
+
export interface MemoryPool_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
275
|
+
|
|
266
276
|
export type MemoryPool_1<T> = MemoryPool_1$instance<T> & __MemoryPool_1$views<T>;
|
|
267
277
|
|
|
268
278
|
|
|
@@ -276,9 +286,9 @@ export abstract class ReadOnlySequenceSegment_1$instance<T> {
|
|
|
276
286
|
export type ReadOnlySequenceSegment_1<T> = ReadOnlySequenceSegment_1$instance<T>;
|
|
277
287
|
|
|
278
288
|
export class ReadOnlySpanAction_2$instance<T, TArg> extends Function {
|
|
279
|
-
constructor(object_:
|
|
280
|
-
beginInvoke(span: ReadOnlySpan_1<T>, arg: TArg, callback: AsyncCallback, object_:
|
|
281
|
-
clone():
|
|
289
|
+
constructor(object_: unknown, method: nint);
|
|
290
|
+
beginInvoke(span: ReadOnlySpan_1<T>, arg: TArg, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
291
|
+
clone(): unknown;
|
|
282
292
|
endInvoke(result: IAsyncResult): void;
|
|
283
293
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
284
294
|
invoke(span: ReadOnlySpan_1<T>, arg: TArg): void;
|
|
@@ -286,8 +296,8 @@ export class ReadOnlySpanAction_2$instance<T, TArg> extends Function {
|
|
|
286
296
|
|
|
287
297
|
|
|
288
298
|
export interface __ReadOnlySpanAction_2$views<T, TArg> {
|
|
289
|
-
|
|
290
|
-
|
|
299
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
300
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
291
301
|
}
|
|
292
302
|
|
|
293
303
|
export type ReadOnlySpanAction_2<T, TArg> = ReadOnlySpanAction_2$instance<T, TArg> & __ReadOnlySpanAction_2$views<T, TArg>;
|
|
@@ -301,9 +311,9 @@ export class SearchValues_1$instance<T extends IEquatable_1<T>> {
|
|
|
301
311
|
export type SearchValues_1<T extends IEquatable_1<T>> = SearchValues_1$instance<T>;
|
|
302
312
|
|
|
303
313
|
export class SpanAction_2$instance<T, TArg> extends Function {
|
|
304
|
-
constructor(object_:
|
|
305
|
-
beginInvoke(span: Span_1<T>, arg: TArg, callback: AsyncCallback, object_:
|
|
306
|
-
clone():
|
|
314
|
+
constructor(object_: unknown, method: nint);
|
|
315
|
+
beginInvoke(span: Span_1<T>, arg: TArg, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
316
|
+
clone(): unknown;
|
|
307
317
|
endInvoke(result: IAsyncResult): void;
|
|
308
318
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
309
319
|
invoke(span: Span_1<T>, arg: TArg): void;
|
|
@@ -311,39 +321,39 @@ export class SpanAction_2$instance<T, TArg> extends Function {
|
|
|
311
321
|
|
|
312
322
|
|
|
313
323
|
export interface __SpanAction_2$views<T, TArg> {
|
|
314
|
-
|
|
315
|
-
|
|
324
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
325
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
316
326
|
}
|
|
317
327
|
|
|
318
328
|
export type SpanAction_2<T, TArg> = SpanAction_2$instance<T, TArg> & __SpanAction_2$views<T, TArg>;
|
|
319
329
|
|
|
320
330
|
|
|
321
331
|
export abstract class BuffersExtensions$instance {
|
|
322
|
-
static
|
|
323
|
-
static
|
|
324
|
-
static
|
|
325
|
-
static
|
|
332
|
+
static copyTo<T>(source: { value: ref<ReadOnlySequence_1<T>> }, destination: Span_1<T>): void;
|
|
333
|
+
static positionOf<T extends IEquatable_1<T>>(source: { value: ref<ReadOnlySequence_1<T>> }, value: T): Nullable_1<SequencePosition>;
|
|
334
|
+
static toArray<T>(sequence: { value: ref<ReadOnlySequence_1<T>> }): T[];
|
|
335
|
+
static write<T>(writer: IBufferWriter_1<T>, value: ReadOnlySpan_1<T>): void;
|
|
326
336
|
}
|
|
327
337
|
|
|
328
338
|
|
|
329
339
|
export type BuffersExtensions = BuffersExtensions$instance;
|
|
330
340
|
|
|
331
341
|
export abstract class SearchValues$instance {
|
|
332
|
-
static
|
|
333
|
-
static
|
|
334
|
-
static
|
|
342
|
+
static create(values: ReadOnlySpan_1<CLROf<byte>>): SearchValues_1<CLROf<byte>>;
|
|
343
|
+
static create(values: ReadOnlySpan_1<CLROf<char>>): SearchValues_1<CLROf<char>>;
|
|
344
|
+
static create(values: ReadOnlySpan_1<CLROf<string>>, comparisonType: StringComparison): SearchValues_1<CLROf<string>>;
|
|
335
345
|
}
|
|
336
346
|
|
|
337
347
|
|
|
338
348
|
export type SearchValues = SearchValues$instance;
|
|
339
349
|
|
|
340
350
|
export abstract class SequenceReaderExtensions$instance {
|
|
341
|
-
static
|
|
342
|
-
static
|
|
343
|
-
static
|
|
344
|
-
static
|
|
345
|
-
static
|
|
346
|
-
static
|
|
351
|
+
static tryReadBigEndian(reader: { value: ref<SequenceReader_1<CLROf<byte>>> }, value: { value: ref<short> }): boolean;
|
|
352
|
+
static tryReadBigEndian(reader: { value: ref<SequenceReader_1<CLROf<byte>>> }, value: { value: ref<int> }): boolean;
|
|
353
|
+
static tryReadBigEndian(reader: { value: ref<SequenceReader_1<CLROf<byte>>> }, value: { value: ref<long> }): boolean;
|
|
354
|
+
static tryReadLittleEndian(reader: { value: ref<SequenceReader_1<CLROf<byte>>> }, value: { value: ref<short> }): boolean;
|
|
355
|
+
static tryReadLittleEndian(reader: { value: ref<SequenceReader_1<CLROf<byte>>> }, value: { value: ref<int> }): boolean;
|
|
356
|
+
static tryReadLittleEndian(reader: { value: ref<SequenceReader_1<CLROf<byte>>> }, value: { value: ref<long> }): boolean;
|
|
347
357
|
}
|
|
348
358
|
|
|
349
359
|
|
|
@@ -38,132 +38,132 @@ export type CLROf<T> =
|
|
|
38
38
|
T; // Identity fallback for non-primitive types
|
|
39
39
|
|
|
40
40
|
export abstract class BinaryPrimitives$instance {
|
|
41
|
-
static
|
|
42
|
-
static
|
|
43
|
-
static
|
|
44
|
-
static
|
|
45
|
-
static
|
|
46
|
-
static
|
|
47
|
-
static
|
|
48
|
-
static
|
|
49
|
-
static
|
|
50
|
-
static
|
|
51
|
-
static
|
|
52
|
-
static
|
|
53
|
-
static
|
|
54
|
-
static
|
|
55
|
-
static
|
|
56
|
-
static
|
|
57
|
-
static
|
|
58
|
-
static
|
|
59
|
-
static
|
|
60
|
-
static
|
|
61
|
-
static
|
|
62
|
-
static
|
|
63
|
-
static
|
|
64
|
-
static
|
|
65
|
-
static
|
|
66
|
-
static
|
|
67
|
-
static
|
|
68
|
-
static
|
|
69
|
-
static
|
|
70
|
-
static
|
|
71
|
-
static
|
|
72
|
-
static
|
|
73
|
-
static
|
|
74
|
-
static
|
|
75
|
-
static
|
|
76
|
-
static
|
|
77
|
-
static
|
|
78
|
-
static
|
|
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
|
|
108
|
-
static
|
|
109
|
-
static
|
|
110
|
-
static
|
|
111
|
-
static
|
|
112
|
-
static
|
|
113
|
-
static
|
|
114
|
-
static
|
|
115
|
-
static
|
|
116
|
-
static
|
|
117
|
-
static
|
|
118
|
-
static
|
|
119
|
-
static
|
|
120
|
-
static
|
|
121
|
-
static
|
|
122
|
-
static
|
|
123
|
-
static
|
|
124
|
-
static
|
|
125
|
-
static
|
|
126
|
-
static
|
|
127
|
-
static
|
|
128
|
-
static
|
|
129
|
-
static
|
|
130
|
-
static
|
|
131
|
-
static
|
|
132
|
-
static
|
|
133
|
-
static
|
|
134
|
-
static
|
|
135
|
-
static
|
|
136
|
-
static
|
|
137
|
-
static
|
|
138
|
-
static
|
|
139
|
-
static
|
|
140
|
-
static
|
|
141
|
-
static
|
|
142
|
-
static
|
|
143
|
-
static
|
|
144
|
-
static
|
|
145
|
-
static
|
|
146
|
-
static
|
|
147
|
-
static
|
|
148
|
-
static
|
|
149
|
-
static
|
|
150
|
-
static
|
|
151
|
-
static
|
|
152
|
-
static
|
|
153
|
-
static
|
|
154
|
-
static
|
|
155
|
-
static
|
|
156
|
-
static
|
|
157
|
-
static
|
|
158
|
-
static
|
|
159
|
-
static
|
|
160
|
-
static
|
|
161
|
-
static
|
|
162
|
-
static
|
|
163
|
-
static
|
|
164
|
-
static
|
|
165
|
-
static
|
|
166
|
-
static
|
|
41
|
+
static readDoubleBigEndian(source: ReadOnlySpan_1<CLROf<byte>>): double;
|
|
42
|
+
static readDoubleLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): double;
|
|
43
|
+
static readHalfBigEndian(source: ReadOnlySpan_1<CLROf<byte>>): half;
|
|
44
|
+
static readHalfLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): half;
|
|
45
|
+
static readInt128BigEndian(source: ReadOnlySpan_1<CLROf<byte>>): int128;
|
|
46
|
+
static readInt128LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): int128;
|
|
47
|
+
static readInt16BigEndian(source: ReadOnlySpan_1<CLROf<byte>>): short;
|
|
48
|
+
static readInt16LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): short;
|
|
49
|
+
static readInt32BigEndian(source: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
50
|
+
static readInt32LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): int;
|
|
51
|
+
static readInt64BigEndian(source: ReadOnlySpan_1<CLROf<byte>>): long;
|
|
52
|
+
static readInt64LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): long;
|
|
53
|
+
static readIntPtrBigEndian(source: ReadOnlySpan_1<CLROf<byte>>): nint;
|
|
54
|
+
static readIntPtrLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): nint;
|
|
55
|
+
static readSingleBigEndian(source: ReadOnlySpan_1<CLROf<byte>>): float;
|
|
56
|
+
static readSingleLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): float;
|
|
57
|
+
static readUInt128BigEndian(source: ReadOnlySpan_1<CLROf<byte>>): uint128;
|
|
58
|
+
static readUInt128LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): uint128;
|
|
59
|
+
static readUInt16BigEndian(source: ReadOnlySpan_1<CLROf<byte>>): ushort;
|
|
60
|
+
static readUInt16LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): ushort;
|
|
61
|
+
static readUInt32BigEndian(source: ReadOnlySpan_1<CLROf<byte>>): uint;
|
|
62
|
+
static readUInt32LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): uint;
|
|
63
|
+
static readUInt64BigEndian(source: ReadOnlySpan_1<CLROf<byte>>): ulong;
|
|
64
|
+
static readUInt64LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): ulong;
|
|
65
|
+
static readUIntPtrBigEndian(source: ReadOnlySpan_1<CLROf<byte>>): nuint;
|
|
66
|
+
static readUIntPtrLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>): nuint;
|
|
67
|
+
static reverseEndianness7(value: byte): byte;
|
|
68
|
+
static reverseEndianness7(value: int128): int128;
|
|
69
|
+
static reverseEndianness7(value: short): short;
|
|
70
|
+
static reverseEndianness7(value: int): int;
|
|
71
|
+
static reverseEndianness7(value: long): long;
|
|
72
|
+
static reverseEndianness7(value: nint): nint;
|
|
73
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<int128>>, destination: Span_1<CLROf<int128>>): void;
|
|
74
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<short>>, destination: Span_1<CLROf<short>>): void;
|
|
75
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<int>>, destination: Span_1<CLROf<int>>): void;
|
|
76
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<long>>, destination: Span_1<CLROf<long>>): void;
|
|
77
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<nint>>, destination: Span_1<CLROf<nint>>): void;
|
|
78
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<uint128>>, destination: Span_1<CLROf<uint128>>): void;
|
|
79
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<ushort>>, destination: Span_1<CLROf<ushort>>): void;
|
|
80
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<uint>>, destination: Span_1<CLROf<uint>>): void;
|
|
81
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<ulong>>, destination: Span_1<CLROf<ulong>>): void;
|
|
82
|
+
static reverseEndianness7(source: ReadOnlySpan_1<CLROf<nuint>>, destination: Span_1<CLROf<nuint>>): void;
|
|
83
|
+
static reverseEndianness7(value: sbyte): sbyte;
|
|
84
|
+
static reverseEndianness7(value: uint128): uint128;
|
|
85
|
+
static reverseEndianness7(value: ushort): ushort;
|
|
86
|
+
static reverseEndianness7(value: uint): uint;
|
|
87
|
+
static reverseEndianness7(value: ulong): ulong;
|
|
88
|
+
static reverseEndianness7(value: nuint): nuint;
|
|
89
|
+
static tryReadDoubleBigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<double> }): boolean;
|
|
90
|
+
static tryReadDoubleLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<double> }): boolean;
|
|
91
|
+
static tryReadHalfBigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<half> }): boolean;
|
|
92
|
+
static tryReadHalfLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<half> }): boolean;
|
|
93
|
+
static tryReadInt128BigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<int128> }): boolean;
|
|
94
|
+
static tryReadInt128LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<int128> }): boolean;
|
|
95
|
+
static tryReadInt16BigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<short> }): boolean;
|
|
96
|
+
static tryReadInt16LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<short> }): boolean;
|
|
97
|
+
static tryReadInt32BigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<int> }): boolean;
|
|
98
|
+
static tryReadInt32LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<int> }): boolean;
|
|
99
|
+
static tryReadInt64BigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<long> }): boolean;
|
|
100
|
+
static tryReadInt64LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<long> }): boolean;
|
|
101
|
+
static tryReadIntPtrBigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<nint> }): boolean;
|
|
102
|
+
static tryReadIntPtrLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<nint> }): boolean;
|
|
103
|
+
static tryReadSingleBigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<float> }): boolean;
|
|
104
|
+
static tryReadSingleLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<float> }): boolean;
|
|
105
|
+
static tryReadUInt128BigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<uint128> }): boolean;
|
|
106
|
+
static tryReadUInt128LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<uint128> }): boolean;
|
|
107
|
+
static tryReadUInt16BigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<ushort> }): boolean;
|
|
108
|
+
static tryReadUInt16LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<ushort> }): boolean;
|
|
109
|
+
static tryReadUInt32BigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<uint> }): boolean;
|
|
110
|
+
static tryReadUInt32LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<uint> }): boolean;
|
|
111
|
+
static tryReadUInt64BigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<ulong> }): boolean;
|
|
112
|
+
static tryReadUInt64LittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<ulong> }): boolean;
|
|
113
|
+
static tryReadUIntPtrBigEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<nuint> }): boolean;
|
|
114
|
+
static tryReadUIntPtrLittleEndian(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<nuint> }): boolean;
|
|
115
|
+
static tryWriteDoubleBigEndian(destination: Span_1<CLROf<byte>>, value: double): boolean;
|
|
116
|
+
static tryWriteDoubleLittleEndian(destination: Span_1<CLROf<byte>>, value: double): boolean;
|
|
117
|
+
static tryWriteHalfBigEndian(destination: Span_1<CLROf<byte>>, value: half): boolean;
|
|
118
|
+
static tryWriteHalfLittleEndian(destination: Span_1<CLROf<byte>>, value: half): boolean;
|
|
119
|
+
static tryWriteInt128BigEndian(destination: Span_1<CLROf<byte>>, value: int128): boolean;
|
|
120
|
+
static tryWriteInt128LittleEndian(destination: Span_1<CLROf<byte>>, value: int128): boolean;
|
|
121
|
+
static tryWriteInt16BigEndian(destination: Span_1<CLROf<byte>>, value: short): boolean;
|
|
122
|
+
static tryWriteInt16LittleEndian(destination: Span_1<CLROf<byte>>, value: short): boolean;
|
|
123
|
+
static tryWriteInt32BigEndian(destination: Span_1<CLROf<byte>>, value: int): boolean;
|
|
124
|
+
static tryWriteInt32LittleEndian(destination: Span_1<CLROf<byte>>, value: int): boolean;
|
|
125
|
+
static tryWriteInt64BigEndian(destination: Span_1<CLROf<byte>>, value: long): boolean;
|
|
126
|
+
static tryWriteInt64LittleEndian(destination: Span_1<CLROf<byte>>, value: long): boolean;
|
|
127
|
+
static tryWriteIntPtrBigEndian(destination: Span_1<CLROf<byte>>, value: nint): boolean;
|
|
128
|
+
static tryWriteIntPtrLittleEndian(destination: Span_1<CLROf<byte>>, value: nint): boolean;
|
|
129
|
+
static tryWriteSingleBigEndian(destination: Span_1<CLROf<byte>>, value: float): boolean;
|
|
130
|
+
static tryWriteSingleLittleEndian(destination: Span_1<CLROf<byte>>, value: float): boolean;
|
|
131
|
+
static tryWriteUInt128BigEndian(destination: Span_1<CLROf<byte>>, value: uint128): boolean;
|
|
132
|
+
static tryWriteUInt128LittleEndian(destination: Span_1<CLROf<byte>>, value: uint128): boolean;
|
|
133
|
+
static tryWriteUInt16BigEndian(destination: Span_1<CLROf<byte>>, value: ushort): boolean;
|
|
134
|
+
static tryWriteUInt16LittleEndian(destination: Span_1<CLROf<byte>>, value: ushort): boolean;
|
|
135
|
+
static tryWriteUInt32BigEndian(destination: Span_1<CLROf<byte>>, value: uint): boolean;
|
|
136
|
+
static tryWriteUInt32LittleEndian(destination: Span_1<CLROf<byte>>, value: uint): boolean;
|
|
137
|
+
static tryWriteUInt64BigEndian(destination: Span_1<CLROf<byte>>, value: ulong): boolean;
|
|
138
|
+
static tryWriteUInt64LittleEndian(destination: Span_1<CLROf<byte>>, value: ulong): boolean;
|
|
139
|
+
static tryWriteUIntPtrBigEndian(destination: Span_1<CLROf<byte>>, value: nuint): boolean;
|
|
140
|
+
static tryWriteUIntPtrLittleEndian(destination: Span_1<CLROf<byte>>, value: nuint): boolean;
|
|
141
|
+
static writeDoubleBigEndian(destination: Span_1<CLROf<byte>>, value: double): void;
|
|
142
|
+
static writeDoubleLittleEndian(destination: Span_1<CLROf<byte>>, value: double): void;
|
|
143
|
+
static writeHalfBigEndian(destination: Span_1<CLROf<byte>>, value: half): void;
|
|
144
|
+
static writeHalfLittleEndian(destination: Span_1<CLROf<byte>>, value: half): void;
|
|
145
|
+
static writeInt128BigEndian(destination: Span_1<CLROf<byte>>, value: int128): void;
|
|
146
|
+
static writeInt128LittleEndian(destination: Span_1<CLROf<byte>>, value: int128): void;
|
|
147
|
+
static writeInt16BigEndian(destination: Span_1<CLROf<byte>>, value: short): void;
|
|
148
|
+
static writeInt16LittleEndian(destination: Span_1<CLROf<byte>>, value: short): void;
|
|
149
|
+
static writeInt32BigEndian(destination: Span_1<CLROf<byte>>, value: int): void;
|
|
150
|
+
static writeInt32LittleEndian(destination: Span_1<CLROf<byte>>, value: int): void;
|
|
151
|
+
static writeInt64BigEndian(destination: Span_1<CLROf<byte>>, value: long): void;
|
|
152
|
+
static writeInt64LittleEndian(destination: Span_1<CLROf<byte>>, value: long): void;
|
|
153
|
+
static writeIntPtrBigEndian(destination: Span_1<CLROf<byte>>, value: nint): void;
|
|
154
|
+
static writeIntPtrLittleEndian(destination: Span_1<CLROf<byte>>, value: nint): void;
|
|
155
|
+
static writeSingleBigEndian(destination: Span_1<CLROf<byte>>, value: float): void;
|
|
156
|
+
static writeSingleLittleEndian(destination: Span_1<CLROf<byte>>, value: float): void;
|
|
157
|
+
static writeUInt128BigEndian(destination: Span_1<CLROf<byte>>, value: uint128): void;
|
|
158
|
+
static writeUInt128LittleEndian(destination: Span_1<CLROf<byte>>, value: uint128): void;
|
|
159
|
+
static writeUInt16BigEndian(destination: Span_1<CLROf<byte>>, value: ushort): void;
|
|
160
|
+
static writeUInt16LittleEndian(destination: Span_1<CLROf<byte>>, value: ushort): void;
|
|
161
|
+
static writeUInt32BigEndian(destination: Span_1<CLROf<byte>>, value: uint): void;
|
|
162
|
+
static writeUInt32LittleEndian(destination: Span_1<CLROf<byte>>, value: uint): void;
|
|
163
|
+
static writeUInt64BigEndian(destination: Span_1<CLROf<byte>>, value: ulong): void;
|
|
164
|
+
static writeUInt64LittleEndian(destination: Span_1<CLROf<byte>>, value: ulong): void;
|
|
165
|
+
static writeUIntPtrBigEndian(destination: Span_1<CLROf<byte>>, value: nuint): void;
|
|
166
|
+
static writeUIntPtrLittleEndian(destination: Span_1<CLROf<byte>>, value: nuint): void;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
|