@tsonic/dotnet 0.8.0 → 0.8.2
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/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +21 -21
- package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
- package/Microsoft.Win32/internal/index.d.ts +12 -12
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +1277 -1289
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +13 -13
- package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
- package/System.Collections/internal/index.d.ts +66 -68
- package/System.Collections.Concurrent/internal/index.d.ts +24 -24
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +141 -133
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +121 -121
- package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
- package/System.Collections.Specialized/internal/index.d.ts +85 -87
- package/System.ComponentModel/internal/index.d.ts +595 -597
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
- package/System.ComponentModel.Design/internal/index.d.ts +90 -90
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
- package/System.Data/internal/index.d.ts +225 -225
- package/System.Data.Common/internal/index.d.ts +62 -62
- package/System.Data.SqlTypes/internal/index.d.ts +73 -73
- package/System.Diagnostics/internal/index.d.ts +343 -343
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
- package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
- package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
- package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
- package/System.Drawing/internal/index.d.ts +99 -99
- package/System.Dynamic/internal/index.d.ts +33 -33
- package/System.Formats.Asn1/internal/index.d.ts +12 -12
- package/System.Formats.Tar/internal/index.d.ts +17 -17
- package/System.Globalization/internal/index.d.ts +51 -51
- package/System.IO/internal/index.d.ts +172 -172
- package/System.IO.Compression/internal/index.d.ts +56 -56
- package/System.IO.Enumeration/internal/index.d.ts +6 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
- package/System.IO.Pipelines/internal/index.d.ts +13 -13
- package/System.IO.Pipes/internal/index.d.ts +32 -32
- package/System.Linq/internal/index.d.ts +187 -187
- package/System.Linq.Expressions/internal/index.d.ts +203 -203
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- package/System.Net/internal/index.d.ts +218 -220
- package/System.Net.Cache/internal/index.d.ts +10 -10
- package/System.Net.Http/internal/index.d.ts +89 -89
- package/System.Net.Http.Headers/internal/index.d.ts +86 -86
- package/System.Net.Http.Json/internal/index.d.ts +59 -59
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/internal/index.d.ts +92 -92
- package/System.Net.Mime/internal/index.d.ts +6 -6
- package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
- package/System.Net.Quic/internal/index.d.ts +13 -13
- package/System.Net.Security/internal/index.d.ts +70 -70
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
- package/System.Net.Sockets/internal/index.d.ts +94 -94
- package/System.Net.WebSockets/internal/index.d.ts +46 -46
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +128 -130
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +271 -271
- package/System.Reflection.Emit/internal/index.d.ts +123 -123
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +179 -179
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
- package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
- package/System.Resources/internal/index.d.ts +38 -38
- package/System.Runtime/internal/index.d.ts +9 -9
- package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Loader/internal/index.d.ts +9 -9
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +113 -115
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
- package/System.Runtime.Versioning/internal/index.d.ts +22 -22
- package/System.Security/internal/index.d.ts +63 -63
- package/System.Security.AccessControl/internal/index.d.ts +84 -84
- package/System.Security.Authentication/internal/index.d.ts +6 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
- package/System.Security.Claims/internal/index.d.ts +38 -40
- package/System.Security.Cryptography/internal/index.d.ts +378 -378
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
- package/System.Security.Permissions/internal/index.d.ts +1 -1
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +29 -31
- package/System.Text/internal/index.d.ts +94 -94
- package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
- package/System.Text.Json/internal/index.d.ts +103 -103
- package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
- package/System.Text.Json.Schema/internal/index.d.ts +7 -7
- package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
- package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Threading/internal/index.d.ts +160 -160
- package/System.Threading.Channels/internal/index.d.ts +12 -12
- package/System.Threading.Tasks/internal/index.d.ts +125 -135
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
- package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
- package/System.Timers/internal/index.d.ts +8 -8
- package/System.Transactions/internal/index.d.ts +51 -51
- package/System.Web/internal/index.d.ts +32 -32
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Windows.Markup/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +281 -281
- package/System.Xml.Linq/internal/index.d.ts +76 -76
- package/System.Xml.Resolvers/internal/index.d.ts +8 -8
- package/System.Xml.Schema/internal/index.d.ts +173 -173
- package/System.Xml.Serialization/internal/index.d.ts +200 -200
- package/System.Xml.XPath/internal/index.d.ts +28 -28
- package/System.Xml.Xsl/internal/index.d.ts +53 -53
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -60,7 +60,7 @@ export interface BrotliDecoder$instance {
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
export const BrotliDecoder: {
|
|
63
|
-
new(): BrotliDecoder
|
|
63
|
+
new(): BrotliDecoder;
|
|
64
64
|
tryDecompress(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
65
65
|
};
|
|
66
66
|
|
|
@@ -82,7 +82,7 @@ export interface BrotliEncoder$instance {
|
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
export const BrotliEncoder: {
|
|
85
|
-
new(quality: int, window: int): BrotliEncoder
|
|
85
|
+
new(quality: int, window: int): BrotliEncoder;
|
|
86
86
|
getMaxCompressedLength(inputSize: int): int;
|
|
87
87
|
tryCompress(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int, quality: int, window: int): boolean;
|
|
88
88
|
tryCompress(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
@@ -104,7 +104,7 @@ export interface BrotliCompressionOptions$instance {
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
export const BrotliCompressionOptions: {
|
|
107
|
-
new(): BrotliCompressionOptions
|
|
107
|
+
new(): BrotliCompressionOptions;
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
|
|
@@ -117,8 +117,8 @@ export interface BrotliStream$instance extends Stream {
|
|
|
117
117
|
readonly canWrite: boolean;
|
|
118
118
|
readonly length: long;
|
|
119
119
|
position: long;
|
|
120
|
-
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
121
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
120
|
+
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
|
|
121
|
+
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
|
|
122
122
|
dispose(): void;
|
|
123
123
|
disposeAsync(): ValueTask;
|
|
124
124
|
endRead(asyncResult: IAsyncResult): int;
|
|
@@ -149,11 +149,11 @@ export interface BrotliStream$instance extends Stream {
|
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
export const BrotliStream: {
|
|
152
|
-
new(stream: Stream, compressionLevel: CompressionLevel): BrotliStream
|
|
153
|
-
new(stream: Stream, compressionLevel: CompressionLevel, leaveOpen: boolean): BrotliStream
|
|
154
|
-
new(stream: Stream, compressionOptions: BrotliCompressionOptions, leaveOpen: boolean): BrotliStream
|
|
155
|
-
new(stream: Stream, mode: CompressionMode): BrotliStream
|
|
156
|
-
new(stream: Stream, mode: CompressionMode, leaveOpen: boolean): BrotliStream
|
|
152
|
+
new(stream: Stream, compressionLevel: CompressionLevel): BrotliStream;
|
|
153
|
+
new(stream: Stream, compressionLevel: CompressionLevel, leaveOpen: boolean): BrotliStream;
|
|
154
|
+
new(stream: Stream, compressionOptions: BrotliCompressionOptions, leaveOpen: boolean): BrotliStream;
|
|
155
|
+
new(stream: Stream, mode: CompressionMode): BrotliStream;
|
|
156
|
+
new(stream: Stream, mode: CompressionMode, leaveOpen: boolean): BrotliStream;
|
|
157
157
|
};
|
|
158
158
|
|
|
159
159
|
|
|
@@ -172,8 +172,8 @@ export interface DeflateStream$instance extends Stream {
|
|
|
172
172
|
readonly canWrite: boolean;
|
|
173
173
|
readonly length: long;
|
|
174
174
|
position: long;
|
|
175
|
-
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
176
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
175
|
+
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
|
|
176
|
+
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
|
|
177
177
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
178
178
|
copyTo(destination: Stream): void;
|
|
179
179
|
copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
|
|
@@ -210,11 +210,11 @@ export interface DeflateStream$instance extends Stream {
|
|
|
210
210
|
|
|
211
211
|
|
|
212
212
|
export const DeflateStream: {
|
|
213
|
-
new(stream: Stream, mode: CompressionMode): DeflateStream
|
|
214
|
-
new(stream: Stream, mode: CompressionMode, leaveOpen: boolean): DeflateStream
|
|
215
|
-
new(stream: Stream, compressionLevel: CompressionLevel): DeflateStream
|
|
216
|
-
new(stream: Stream, compressionLevel: CompressionLevel, leaveOpen: boolean): DeflateStream
|
|
217
|
-
new(stream: Stream, compressionOptions: ZLibCompressionOptions, leaveOpen: boolean): DeflateStream
|
|
213
|
+
new(stream: Stream, mode: CompressionMode): DeflateStream;
|
|
214
|
+
new(stream: Stream, mode: CompressionMode, leaveOpen: boolean): DeflateStream;
|
|
215
|
+
new(stream: Stream, compressionLevel: CompressionLevel): DeflateStream;
|
|
216
|
+
new(stream: Stream, compressionLevel: CompressionLevel, leaveOpen: boolean): DeflateStream;
|
|
217
|
+
new(stream: Stream, compressionOptions: ZLibCompressionOptions, leaveOpen: boolean): DeflateStream;
|
|
218
218
|
};
|
|
219
219
|
|
|
220
220
|
|
|
@@ -233,8 +233,8 @@ export interface GZipStream$instance extends Stream {
|
|
|
233
233
|
readonly canWrite: boolean;
|
|
234
234
|
readonly length: long;
|
|
235
235
|
position: long;
|
|
236
|
-
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
237
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
236
|
+
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
|
|
237
|
+
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
|
|
238
238
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
239
239
|
copyTo(destination: Stream): void;
|
|
240
240
|
copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
|
|
@@ -271,11 +271,11 @@ export interface GZipStream$instance extends Stream {
|
|
|
271
271
|
|
|
272
272
|
|
|
273
273
|
export const GZipStream: {
|
|
274
|
-
new(stream: Stream, mode: CompressionMode): GZipStream
|
|
275
|
-
new(stream: Stream, mode: CompressionMode, leaveOpen: boolean): GZipStream
|
|
276
|
-
new(stream: Stream, compressionLevel: CompressionLevel): GZipStream
|
|
277
|
-
new(stream: Stream, compressionLevel: CompressionLevel, leaveOpen: boolean): GZipStream
|
|
278
|
-
new(stream: Stream, compressionOptions: ZLibCompressionOptions, leaveOpen: boolean): GZipStream
|
|
274
|
+
new(stream: Stream, mode: CompressionMode): GZipStream;
|
|
275
|
+
new(stream: Stream, mode: CompressionMode, leaveOpen: boolean): GZipStream;
|
|
276
|
+
new(stream: Stream, compressionLevel: CompressionLevel): GZipStream;
|
|
277
|
+
new(stream: Stream, compressionLevel: CompressionLevel, leaveOpen: boolean): GZipStream;
|
|
278
|
+
new(stream: Stream, compressionOptions: ZLibCompressionOptions, leaveOpen: boolean): GZipStream;
|
|
279
279
|
};
|
|
280
280
|
|
|
281
281
|
|
|
@@ -295,16 +295,16 @@ export interface ZipArchive$instance {
|
|
|
295
295
|
createEntry(entryName: string, compressionLevel: CompressionLevel): ZipArchiveEntry;
|
|
296
296
|
dispose(): void;
|
|
297
297
|
disposeAsync(): ValueTask;
|
|
298
|
-
getEntry(entryName: string): ZipArchiveEntry;
|
|
298
|
+
getEntry(entryName: string): ZipArchiveEntry | undefined;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
export const ZipArchive: {
|
|
303
|
-
new(stream: Stream): ZipArchive
|
|
304
|
-
new(stream: Stream, mode: ZipArchiveMode): ZipArchive
|
|
305
|
-
new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean): ZipArchive
|
|
306
|
-
new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding): ZipArchive
|
|
307
|
-
createAsync(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|
|
303
|
+
new(stream: Stream): ZipArchive;
|
|
304
|
+
new(stream: Stream, mode: ZipArchiveMode): ZipArchive;
|
|
305
|
+
new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean): ZipArchive;
|
|
306
|
+
new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding | undefined): ZipArchive;
|
|
307
|
+
createAsync(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|
|
308
308
|
};
|
|
309
309
|
|
|
310
310
|
|
|
@@ -337,7 +337,7 @@ export interface ZipArchiveEntry$instance {
|
|
|
337
337
|
|
|
338
338
|
|
|
339
339
|
export const ZipArchiveEntry: {
|
|
340
|
-
new(): ZipArchiveEntry
|
|
340
|
+
new(): ZipArchiveEntry;
|
|
341
341
|
};
|
|
342
342
|
|
|
343
343
|
|
|
@@ -350,7 +350,7 @@ export interface ZLibCompressionOptions$instance {
|
|
|
350
350
|
|
|
351
351
|
|
|
352
352
|
export const ZLibCompressionOptions: {
|
|
353
|
-
new(): ZLibCompressionOptions
|
|
353
|
+
new(): ZLibCompressionOptions;
|
|
354
354
|
};
|
|
355
355
|
|
|
356
356
|
|
|
@@ -362,9 +362,9 @@ export interface ZLibException$instance extends IOException {
|
|
|
362
362
|
|
|
363
363
|
|
|
364
364
|
export const ZLibException: {
|
|
365
|
-
new(message: string, zlibErrorContext: string, zlibErrorCode: int, zlibErrorMessage: string): ZLibException
|
|
366
|
-
new(): ZLibException
|
|
367
|
-
new(message: string, innerException: Exception): ZLibException
|
|
365
|
+
new(message: string, zlibErrorContext: string, zlibErrorCode: int, zlibErrorMessage: string): ZLibException;
|
|
366
|
+
new(): ZLibException;
|
|
367
|
+
new(message: string, innerException: Exception): ZLibException;
|
|
368
368
|
};
|
|
369
369
|
|
|
370
370
|
|
|
@@ -382,8 +382,8 @@ export interface ZLibStream$instance extends Stream {
|
|
|
382
382
|
readonly canWrite: boolean;
|
|
383
383
|
readonly length: long;
|
|
384
384
|
position: long;
|
|
385
|
-
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
386
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
385
|
+
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
|
|
386
|
+
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
|
|
387
387
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
388
388
|
copyTo(destination: Stream): void;
|
|
389
389
|
copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
|
|
@@ -420,11 +420,11 @@ export interface ZLibStream$instance extends Stream {
|
|
|
420
420
|
|
|
421
421
|
|
|
422
422
|
export const ZLibStream: {
|
|
423
|
-
new(stream: Stream, mode: CompressionMode): ZLibStream
|
|
424
|
-
new(stream: Stream, mode: CompressionMode, leaveOpen: boolean): ZLibStream
|
|
425
|
-
new(stream: Stream, compressionLevel: CompressionLevel): ZLibStream
|
|
426
|
-
new(stream: Stream, compressionLevel: CompressionLevel, leaveOpen: boolean): ZLibStream
|
|
427
|
-
new(stream: Stream, compressionOptions: ZLibCompressionOptions, leaveOpen: boolean): ZLibStream
|
|
423
|
+
new(stream: Stream, mode: CompressionMode): ZLibStream;
|
|
424
|
+
new(stream: Stream, mode: CompressionMode, leaveOpen: boolean): ZLibStream;
|
|
425
|
+
new(stream: Stream, compressionLevel: CompressionLevel): ZLibStream;
|
|
426
|
+
new(stream: Stream, compressionLevel: CompressionLevel, leaveOpen: boolean): ZLibStream;
|
|
427
|
+
new(stream: Stream, compressionOptions: ZLibCompressionOptions, leaveOpen: boolean): ZLibStream;
|
|
428
428
|
};
|
|
429
429
|
|
|
430
430
|
|
|
@@ -437,37 +437,37 @@ export type ZLibStream = ZLibStream$instance & __ZLibStream$views;
|
|
|
437
437
|
|
|
438
438
|
|
|
439
439
|
export abstract class ZipFile$instance {
|
|
440
|
-
static createFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
|
|
440
|
+
static createFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding | undefined): void;
|
|
441
441
|
static createFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
|
|
442
442
|
static createFromDirectory(sourceDirectoryName: string, destination: Stream): void;
|
|
443
|
-
static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
|
|
443
|
+
static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding | undefined): void;
|
|
444
444
|
static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
|
|
445
445
|
static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string): void;
|
|
446
|
-
static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
446
|
+
static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task;
|
|
447
447
|
static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
|
|
448
448
|
static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, cancellationToken?: CancellationToken): Task;
|
|
449
|
-
static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
449
|
+
static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task;
|
|
450
450
|
static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
|
|
451
451
|
static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, cancellationToken?: CancellationToken): Task;
|
|
452
452
|
static extractToDirectory(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean): void;
|
|
453
|
-
static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
|
|
454
|
-
static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
|
|
453
|
+
static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, overwriteFiles: boolean): void;
|
|
454
|
+
static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined): void;
|
|
455
455
|
static extractToDirectory(source: Stream, destinationDirectoryName: string): void;
|
|
456
456
|
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean): void;
|
|
457
|
-
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
|
|
458
|
-
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
|
|
457
|
+
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, overwriteFiles: boolean): void;
|
|
458
|
+
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined): void;
|
|
459
459
|
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string): void;
|
|
460
460
|
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
461
|
-
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
462
|
-
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
461
|
+
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
462
|
+
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task;
|
|
463
463
|
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
|
|
464
464
|
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
465
|
-
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
466
|
-
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
465
|
+
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
466
|
+
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task;
|
|
467
467
|
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
|
|
468
|
-
static open(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding): ZipArchive;
|
|
468
|
+
static open(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding | undefined): ZipArchive;
|
|
469
469
|
static open(archiveFileName: string, mode: ZipArchiveMode): ZipArchive;
|
|
470
|
-
static openAsync(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|
|
470
|
+
static openAsync(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|
|
471
471
|
static openAsync(archiveFileName: string, mode: ZipArchiveMode, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|
|
472
472
|
static openRead(archiveFileName: string): ZipArchive;
|
|
473
473
|
static openReadAsync(archiveFileName: string, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|
|
@@ -47,21 +47,21 @@ export interface FileSystemEntry$instance {
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
export const FileSystemEntry: {
|
|
50
|
-
new(): FileSystemEntry
|
|
50
|
+
new(): FileSystemEntry;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
export type FileSystemEntry = FileSystemEntry$instance;
|
|
55
55
|
|
|
56
56
|
export interface FileSystemEnumerable_1$instance<TResult> {
|
|
57
|
-
shouldIncludePredicate: FileSystemEnumerable_1_FindPredicate<TResult
|
|
58
|
-
shouldRecursePredicate: FileSystemEnumerable_1_FindPredicate<TResult
|
|
57
|
+
shouldIncludePredicate: FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
|
|
58
|
+
shouldRecursePredicate: FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
|
|
59
59
|
getEnumerator(): IEnumerator_1<TResult>;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
export const FileSystemEnumerable_1: {
|
|
64
|
-
new<TResult>(directory: string, transform: FileSystemEnumerable_1_FindTransform<TResult>, options: EnumerationOptions): FileSystemEnumerable_1
|
|
64
|
+
new<TResult>(directory: string, transform: FileSystemEnumerable_1_FindTransform<TResult>, options: EnumerationOptions | undefined): FileSystemEnumerable_1<TResult>;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
|
|
@@ -82,7 +82,7 @@ export interface FileSystemEnumerator_1$instance<TResult> extends CriticalFinali
|
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
export const FileSystemEnumerator_1: {
|
|
85
|
-
new<TResult>(directory: string, options: EnumerationOptions): FileSystemEnumerator_1
|
|
85
|
+
new<TResult>(directory: string, options: EnumerationOptions | undefined): FileSystemEnumerator_1<TResult>;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
|
|
@@ -97,7 +97,7 @@ export type FileSystemEnumerator_1<TResult> = FileSystemEnumerator_1$instance<TR
|
|
|
97
97
|
export abstract class FileSystemName$instance {
|
|
98
98
|
static matchesSimpleExpression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
|
|
99
99
|
static matchesWin32Expression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
|
|
100
|
-
static translateWin32Expression(expression: string): string;
|
|
100
|
+
static translateWin32Expression(expression: string | undefined): string;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
|
|
@@ -58,14 +58,14 @@ export const IsolatedStorage: {
|
|
|
58
58
|
export type IsolatedStorage = IsolatedStorage$instance;
|
|
59
59
|
|
|
60
60
|
export interface IsolatedStorageException$instance extends Exception {
|
|
61
|
-
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
61
|
+
getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
export const IsolatedStorageException: {
|
|
66
|
-
new(): IsolatedStorageException
|
|
67
|
-
new(message: string): IsolatedStorageException
|
|
68
|
-
new(message: string, inner: Exception): IsolatedStorageException
|
|
66
|
+
new(): IsolatedStorageException;
|
|
67
|
+
new(message: string): IsolatedStorageException;
|
|
68
|
+
new(message: string, inner: Exception): IsolatedStorageException;
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
|
|
@@ -110,16 +110,16 @@ export interface IsolatedStorageFile$instance extends IsolatedStorage {
|
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
export const IsolatedStorageFile: {
|
|
113
|
-
new(): IsolatedStorageFile
|
|
113
|
+
new(): IsolatedStorageFile;
|
|
114
114
|
readonly isEnabled: boolean;
|
|
115
115
|
getEnumerator(scope: IsolatedStorageScope): IEnumerator;
|
|
116
116
|
getMachineStoreForApplication(): IsolatedStorageFile;
|
|
117
117
|
getMachineStoreForAssembly(): IsolatedStorageFile;
|
|
118
118
|
getMachineStoreForDomain(): IsolatedStorageFile;
|
|
119
119
|
getStore(scope: IsolatedStorageScope, domainIdentity: unknown, assemblyIdentity: unknown): IsolatedStorageFile;
|
|
120
|
-
getStore(scope: IsolatedStorageScope, applicationIdentity: unknown): IsolatedStorageFile;
|
|
120
|
+
getStore(scope: IsolatedStorageScope, applicationIdentity: unknown | undefined): IsolatedStorageFile;
|
|
121
121
|
getStore(scope: IsolatedStorageScope, domainEvidenceType: Type, assemblyEvidenceType: Type): IsolatedStorageFile;
|
|
122
|
-
getStore(scope: IsolatedStorageScope, applicationEvidenceType: Type): IsolatedStorageFile;
|
|
122
|
+
getStore(scope: IsolatedStorageScope, applicationEvidenceType: Type | undefined): IsolatedStorageFile;
|
|
123
123
|
getUserStoreForApplication(): IsolatedStorageFile;
|
|
124
124
|
getUserStoreForAssembly(): IsolatedStorageFile;
|
|
125
125
|
getUserStoreForDomain(): IsolatedStorageFile;
|
|
@@ -146,8 +146,8 @@ export interface IsolatedStorageFileStream$instance extends FileStream {
|
|
|
146
146
|
readonly length: long;
|
|
147
147
|
position: long;
|
|
148
148
|
readonly safeFileHandle: SafeFileHandle;
|
|
149
|
-
beginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
150
|
-
beginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
149
|
+
beginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback | undefined, stateObject: unknown | undefined): IAsyncResult;
|
|
150
|
+
beginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback | undefined, stateObject: unknown | undefined): IAsyncResult;
|
|
151
151
|
dispose(): void;
|
|
152
152
|
disposeAsync(): ValueTask;
|
|
153
153
|
endRead(asyncResult: IAsyncResult): int;
|
|
@@ -181,14 +181,14 @@ export interface IsolatedStorageFileStream$instance extends FileStream {
|
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
export const IsolatedStorageFileStream: {
|
|
184
|
-
new(path: string, mode: FileMode): IsolatedStorageFileStream
|
|
185
|
-
new(path: string, mode: FileMode, isf: IsolatedStorageFile): IsolatedStorageFileStream
|
|
186
|
-
new(path: string, mode: FileMode, access: FileAccess): IsolatedStorageFileStream
|
|
187
|
-
new(path: string, mode: FileMode, access: FileAccess, isf: IsolatedStorageFile): IsolatedStorageFileStream
|
|
188
|
-
new(path: string, mode: FileMode, access: FileAccess, share: FileShare): IsolatedStorageFileStream
|
|
189
|
-
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, isf: IsolatedStorageFile): IsolatedStorageFileStream
|
|
190
|
-
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int): IsolatedStorageFileStream
|
|
191
|
-
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, isf: IsolatedStorageFile): IsolatedStorageFileStream
|
|
184
|
+
new(path: string, mode: FileMode): IsolatedStorageFileStream;
|
|
185
|
+
new(path: string, mode: FileMode, isf: IsolatedStorageFile | undefined): IsolatedStorageFileStream;
|
|
186
|
+
new(path: string, mode: FileMode, access: FileAccess): IsolatedStorageFileStream;
|
|
187
|
+
new(path: string, mode: FileMode, access: FileAccess, isf: IsolatedStorageFile | undefined): IsolatedStorageFileStream;
|
|
188
|
+
new(path: string, mode: FileMode, access: FileAccess, share: FileShare): IsolatedStorageFileStream;
|
|
189
|
+
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, isf: IsolatedStorageFile | undefined): IsolatedStorageFileStream;
|
|
190
|
+
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int): IsolatedStorageFileStream;
|
|
191
|
+
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, isf: IsolatedStorageFile | undefined): IsolatedStorageFileStream;
|
|
192
192
|
};
|
|
193
193
|
|
|
194
194
|
|
|
@@ -60,17 +60,17 @@ export interface MemoryMappedFile$instance {
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
export const MemoryMappedFile: {
|
|
63
|
-
new(): MemoryMappedFile
|
|
64
|
-
createFromFile(fileHandle: SafeFileHandle, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
65
|
-
createFromFile(fileStream: FileStream, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
66
|
-
createFromFile(path: string, mode: FileMode, mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
67
|
-
createFromFile(path: string, mode: FileMode, mapName: string, capacity: long): MemoryMappedFile;
|
|
68
|
-
createFromFile(path: string, mode: FileMode, mapName: string): MemoryMappedFile;
|
|
63
|
+
new(): MemoryMappedFile;
|
|
64
|
+
createFromFile(fileHandle: SafeFileHandle, mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
65
|
+
createFromFile(fileStream: FileStream, mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
66
|
+
createFromFile(path: string, mode: FileMode, mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
67
|
+
createFromFile(path: string, mode: FileMode, mapName: string | undefined, capacity: long): MemoryMappedFile;
|
|
68
|
+
createFromFile(path: string, mode: FileMode, mapName: string | undefined): MemoryMappedFile;
|
|
69
69
|
createFromFile(path: string, mode: FileMode): MemoryMappedFile;
|
|
70
70
|
createFromFile(path: string): MemoryMappedFile;
|
|
71
|
-
createNew(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
|
|
72
|
-
createNew(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
73
|
-
createNew(mapName: string, capacity: long): MemoryMappedFile;
|
|
71
|
+
createNew(mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
|
|
72
|
+
createNew(mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
73
|
+
createNew(mapName: string | undefined, capacity: long): MemoryMappedFile;
|
|
74
74
|
createOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
|
|
75
75
|
createOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
76
76
|
createOrOpen(mapName: string, capacity: long): MemoryMappedFile;
|
|
@@ -98,7 +98,7 @@ export interface MemoryMappedViewAccessor$instance extends UnmanagedMemoryAccess
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
export const MemoryMappedViewAccessor: {
|
|
101
|
-
new(): MemoryMappedViewAccessor
|
|
101
|
+
new(): MemoryMappedViewAccessor;
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
|
|
@@ -120,7 +120,7 @@ export interface MemoryMappedViewStream$instance extends UnmanagedMemoryStream {
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
export const MemoryMappedViewStream: {
|
|
123
|
-
new(): MemoryMappedViewStream
|
|
123
|
+
new(): MemoryMappedViewStream;
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
|
|
@@ -32,7 +32,7 @@ export interface FlushResult$instance {
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
export const FlushResult: {
|
|
35
|
-
new(isCanceled: boolean, isCompleted: boolean): FlushResult
|
|
35
|
+
new(isCanceled: boolean, isCompleted: boolean): FlushResult;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@ export interface ReadResult$instance {
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
export const ReadResult: {
|
|
49
|
-
new(buffer: ReadOnlySequence_1<System_Internal.Byte>, isCanceled: boolean, isCompleted: boolean): ReadResult
|
|
49
|
+
new(buffer: ReadOnlySequence_1<System_Internal.Byte>, isCanceled: boolean, isCompleted: boolean): ReadResult;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
|
|
@@ -60,8 +60,8 @@ export interface Pipe$instance {
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
export const Pipe: {
|
|
63
|
-
new(): Pipe
|
|
64
|
-
new(options: PipeOptions): Pipe
|
|
63
|
+
new(): Pipe;
|
|
64
|
+
new(options: PipeOptions): Pipe;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
|
|
@@ -79,7 +79,7 @@ export interface PipeOptions$instance {
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
export const PipeOptions: {
|
|
82
|
-
new(pool: MemoryPool_1<System_Internal.Byte>, readerScheduler: PipeScheduler, writerScheduler: PipeScheduler, pauseWriterThreshold: long, resumeWriterThreshold: long, minimumSegmentSize: int, useSynchronizationContext: boolean): PipeOptions
|
|
82
|
+
new(pool: MemoryPool_1<System_Internal.Byte>, readerScheduler: PipeScheduler, writerScheduler: PipeScheduler, pauseWriterThreshold: long, resumeWriterThreshold: long, minimumSegmentSize: int, useSynchronizationContext: boolean): PipeOptions;
|
|
83
83
|
readonly default_: PipeOptions;
|
|
84
84
|
};
|
|
85
85
|
|
|
@@ -95,7 +95,7 @@ export interface PipeReader$instance {
|
|
|
95
95
|
completeAsync(exception?: Exception): ValueTask;
|
|
96
96
|
copyToAsync(destination: PipeWriter, cancellationToken?: CancellationToken): Task;
|
|
97
97
|
copyToAsync(destination: Stream, cancellationToken?: CancellationToken): Task;
|
|
98
|
-
onWriterCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
|
|
98
|
+
onWriterCompleted(callback: Action_2<Exception | undefined, unknown | undefined>, state: unknown): void;
|
|
99
99
|
readAsync(cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
|
|
100
100
|
readAtLeastAsync(minimumSize: int, cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
|
|
101
101
|
tryRead(result: ReadResult): boolean;
|
|
@@ -104,14 +104,14 @@ export interface PipeReader$instance {
|
|
|
104
104
|
|
|
105
105
|
export const PipeReader: {
|
|
106
106
|
create(sequence: ReadOnlySequence_1<System_Internal.Byte>): PipeReader;
|
|
107
|
-
create(stream: Stream, readerOptions?: StreamPipeReaderOptions): PipeReader;
|
|
107
|
+
create(stream: Stream, readerOptions?: StreamPipeReaderOptions | undefined): PipeReader;
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
export type PipeReader = PipeReader$instance;
|
|
112
112
|
|
|
113
113
|
export interface PipeScheduler$instance {
|
|
114
|
-
schedule(action: Action_1<unknown>, state: unknown): void;
|
|
114
|
+
schedule(action: Action_1<unknown | undefined>, state: unknown): void;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
|
|
@@ -134,13 +134,13 @@ export interface PipeWriter$instance {
|
|
|
134
134
|
flushAsync(cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
|
|
135
135
|
getMemory(sizeHint?: int): Memory_1<System_Internal.Byte>;
|
|
136
136
|
getSpan(sizeHint?: int): Span_1<System_Internal.Byte>;
|
|
137
|
-
onReaderCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
|
|
137
|
+
onReaderCompleted(callback: Action_2<Exception | undefined, unknown | undefined>, state: unknown): void;
|
|
138
138
|
writeAsync(source: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
export const PipeWriter: {
|
|
143
|
-
create(stream: Stream, writerOptions?: StreamPipeWriterOptions): PipeWriter;
|
|
143
|
+
create(stream: Stream, writerOptions?: StreamPipeWriterOptions | undefined): PipeWriter;
|
|
144
144
|
};
|
|
145
145
|
|
|
146
146
|
|
|
@@ -163,8 +163,8 @@ export interface StreamPipeReaderOptions$instance {
|
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
export const StreamPipeReaderOptions: {
|
|
166
|
-
new(pool: MemoryPool_1<System_Internal.Byte>, bufferSize: int, minimumReadSize: int, leaveOpen: boolean): StreamPipeReaderOptions
|
|
167
|
-
new(pool: MemoryPool_1<System_Internal.Byte>, bufferSize: int, minimumReadSize: int, leaveOpen: boolean, useZeroByteReads: boolean): StreamPipeReaderOptions
|
|
166
|
+
new(pool: MemoryPool_1<System_Internal.Byte>, bufferSize: int, minimumReadSize: int, leaveOpen: boolean): StreamPipeReaderOptions;
|
|
167
|
+
new(pool: MemoryPool_1<System_Internal.Byte>, bufferSize: int, minimumReadSize: int, leaveOpen: boolean, useZeroByteReads: boolean): StreamPipeReaderOptions;
|
|
168
168
|
};
|
|
169
169
|
|
|
170
170
|
|
|
@@ -178,7 +178,7 @@ export interface StreamPipeWriterOptions$instance {
|
|
|
178
178
|
|
|
179
179
|
|
|
180
180
|
export const StreamPipeWriterOptions: {
|
|
181
|
-
new(pool: MemoryPool_1<System_Internal.Byte>, minimumBufferSize: int, leaveOpen: boolean): StreamPipeWriterOptions
|
|
181
|
+
new(pool: MemoryPool_1<System_Internal.Byte>, minimumBufferSize: int, leaveOpen: boolean): StreamPipeWriterOptions;
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
|
|
@@ -75,9 +75,9 @@ export interface AnonymousPipeClientStream$instance extends PipeStream$instance
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
export const AnonymousPipeClientStream: {
|
|
78
|
-
new(pipeHandleAsString: string): AnonymousPipeClientStream
|
|
79
|
-
new(direction: PipeDirection, pipeHandleAsString: string): AnonymousPipeClientStream
|
|
80
|
-
new(direction: PipeDirection, safePipeHandle: SafePipeHandle): AnonymousPipeClientStream
|
|
78
|
+
new(pipeHandleAsString: string): AnonymousPipeClientStream;
|
|
79
|
+
new(direction: PipeDirection, pipeHandleAsString: string): AnonymousPipeClientStream;
|
|
80
|
+
new(direction: PipeDirection, safePipeHandle: SafePipeHandle): AnonymousPipeClientStream;
|
|
81
81
|
};
|
|
82
82
|
|
|
83
83
|
|
|
@@ -101,11 +101,11 @@ export interface AnonymousPipeServerStream$instance extends PipeStream$instance
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
export const AnonymousPipeServerStream: {
|
|
104
|
-
new(): AnonymousPipeServerStream
|
|
105
|
-
new(direction: PipeDirection): AnonymousPipeServerStream
|
|
106
|
-
new(direction: PipeDirection, inheritability: HandleInheritability): AnonymousPipeServerStream
|
|
107
|
-
new(direction: PipeDirection, serverSafePipeHandle: SafePipeHandle, clientSafePipeHandle: SafePipeHandle): AnonymousPipeServerStream
|
|
108
|
-
new(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int): AnonymousPipeServerStream
|
|
104
|
+
new(): AnonymousPipeServerStream;
|
|
105
|
+
new(direction: PipeDirection): AnonymousPipeServerStream;
|
|
106
|
+
new(direction: PipeDirection, inheritability: HandleInheritability): AnonymousPipeServerStream;
|
|
107
|
+
new(direction: PipeDirection, serverSafePipeHandle: SafePipeHandle, clientSafePipeHandle: SafePipeHandle): AnonymousPipeServerStream;
|
|
108
|
+
new(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int): AnonymousPipeServerStream;
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
|
|
@@ -135,14 +135,14 @@ export interface NamedPipeClientStream$instance extends PipeStream$instance {
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
export const NamedPipeClientStream: {
|
|
138
|
-
new(pipeName: string): NamedPipeClientStream
|
|
139
|
-
new(serverName: string, pipeName: string): NamedPipeClientStream
|
|
140
|
-
new(serverName: string, pipeName: string, direction: PipeDirection): NamedPipeClientStream
|
|
141
|
-
new(serverName: string, pipeName: string, direction: PipeDirection, options: PipeOptions): NamedPipeClientStream
|
|
142
|
-
new(serverName: string, pipeName: string, direction: PipeDirection, options: PipeOptions, impersonationLevel: TokenImpersonationLevel): NamedPipeClientStream
|
|
143
|
-
new(serverName: string, pipeName: string, direction: PipeDirection, options: PipeOptions, impersonationLevel: TokenImpersonationLevel, inheritability: HandleInheritability): NamedPipeClientStream
|
|
144
|
-
new(direction: PipeDirection, isAsync: boolean, isConnected: boolean, safePipeHandle: SafePipeHandle): NamedPipeClientStream
|
|
145
|
-
new(serverName: string, pipeName: string, desiredAccessRights: PipeAccessRights, options: PipeOptions, impersonationLevel: TokenImpersonationLevel, inheritability: HandleInheritability): NamedPipeClientStream
|
|
138
|
+
new(pipeName: string): NamedPipeClientStream;
|
|
139
|
+
new(serverName: string, pipeName: string): NamedPipeClientStream;
|
|
140
|
+
new(serverName: string, pipeName: string, direction: PipeDirection): NamedPipeClientStream;
|
|
141
|
+
new(serverName: string, pipeName: string, direction: PipeDirection, options: PipeOptions): NamedPipeClientStream;
|
|
142
|
+
new(serverName: string, pipeName: string, direction: PipeDirection, options: PipeOptions, impersonationLevel: TokenImpersonationLevel): NamedPipeClientStream;
|
|
143
|
+
new(serverName: string, pipeName: string, direction: PipeDirection, options: PipeOptions, impersonationLevel: TokenImpersonationLevel, inheritability: HandleInheritability): NamedPipeClientStream;
|
|
144
|
+
new(direction: PipeDirection, isAsync: boolean, isConnected: boolean, safePipeHandle: SafePipeHandle): NamedPipeClientStream;
|
|
145
|
+
new(serverName: string, pipeName: string, desiredAccessRights: PipeAccessRights, options: PipeOptions, impersonationLevel: TokenImpersonationLevel, inheritability: HandleInheritability): NamedPipeClientStream;
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
|
|
@@ -171,13 +171,13 @@ export interface NamedPipeServerStream$instance extends PipeStream$instance {
|
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
export const NamedPipeServerStream: {
|
|
174
|
-
new(pipeName: string): NamedPipeServerStream
|
|
175
|
-
new(pipeName: string, direction: PipeDirection): NamedPipeServerStream
|
|
176
|
-
new(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int): NamedPipeServerStream
|
|
177
|
-
new(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode): NamedPipeServerStream
|
|
178
|
-
new(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions): NamedPipeServerStream
|
|
179
|
-
new(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int): NamedPipeServerStream
|
|
180
|
-
new(direction: PipeDirection, isAsync: boolean, isConnected: boolean, safePipeHandle: SafePipeHandle): NamedPipeServerStream
|
|
174
|
+
new(pipeName: string): NamedPipeServerStream;
|
|
175
|
+
new(pipeName: string, direction: PipeDirection): NamedPipeServerStream;
|
|
176
|
+
new(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int): NamedPipeServerStream;
|
|
177
|
+
new(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode): NamedPipeServerStream;
|
|
178
|
+
new(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions): NamedPipeServerStream;
|
|
179
|
+
new(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int): NamedPipeServerStream;
|
|
180
|
+
new(direction: PipeDirection, isAsync: boolean, isConnected: boolean, safePipeHandle: SafePipeHandle): NamedPipeServerStream;
|
|
181
181
|
readonly maxAllowedServerInstances: int;
|
|
182
182
|
};
|
|
183
183
|
|
|
@@ -196,8 +196,8 @@ export interface PipeAccessRule$instance extends AccessRule {
|
|
|
196
196
|
|
|
197
197
|
|
|
198
198
|
export const PipeAccessRule: {
|
|
199
|
-
new(identity: IdentityReference, rights: PipeAccessRights, type_: AccessControlType): PipeAccessRule
|
|
200
|
-
new(identity: string, rights: PipeAccessRights, type_: AccessControlType): PipeAccessRule
|
|
199
|
+
new(identity: IdentityReference, rights: PipeAccessRights, type_: AccessControlType): PipeAccessRule;
|
|
200
|
+
new(identity: string, rights: PipeAccessRights, type_: AccessControlType): PipeAccessRule;
|
|
201
201
|
};
|
|
202
202
|
|
|
203
203
|
|
|
@@ -209,8 +209,8 @@ export interface PipeAuditRule$instance extends AuditRule {
|
|
|
209
209
|
|
|
210
210
|
|
|
211
211
|
export const PipeAuditRule: {
|
|
212
|
-
new(identity: IdentityReference, rights: PipeAccessRights, flags: AuditFlags): PipeAuditRule
|
|
213
|
-
new(identity: string, rights: PipeAccessRights, flags: AuditFlags): PipeAuditRule
|
|
212
|
+
new(identity: IdentityReference, rights: PipeAccessRights, flags: AuditFlags): PipeAuditRule;
|
|
213
|
+
new(identity: string, rights: PipeAccessRights, flags: AuditFlags): PipeAuditRule;
|
|
214
214
|
};
|
|
215
215
|
|
|
216
216
|
|
|
@@ -236,7 +236,7 @@ export interface PipeSecurity$instance extends NativeObjectSecurity {
|
|
|
236
236
|
|
|
237
237
|
|
|
238
238
|
export const PipeSecurity: {
|
|
239
|
-
new(): PipeSecurity
|
|
239
|
+
new(): PipeSecurity;
|
|
240
240
|
};
|
|
241
241
|
|
|
242
242
|
|
|
@@ -256,8 +256,8 @@ export interface PipeStream$instance extends Stream {
|
|
|
256
256
|
readMode: PipeTransmissionMode;
|
|
257
257
|
readonly safePipeHandle: SafePipeHandle;
|
|
258
258
|
readonly transmissionMode: PipeTransmissionMode;
|
|
259
|
-
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
260
|
-
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
259
|
+
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
260
|
+
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
261
261
|
dispose(): void;
|
|
262
262
|
disposeAsync(): ValueTask;
|
|
263
263
|
endRead(asyncResult: IAsyncResult): int;
|
|
@@ -301,14 +301,14 @@ export type PipeStream = PipeStream$instance & __PipeStream$views;
|
|
|
301
301
|
|
|
302
302
|
|
|
303
303
|
export abstract class AnonymousPipeServerStreamAcl$instance {
|
|
304
|
-
static create(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int, pipeSecurity: PipeSecurity): AnonymousPipeServerStream;
|
|
304
|
+
static create(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int, pipeSecurity: PipeSecurity | undefined): AnonymousPipeServerStream;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
|
|
308
308
|
export type AnonymousPipeServerStreamAcl = AnonymousPipeServerStreamAcl$instance;
|
|
309
309
|
|
|
310
310
|
export abstract class NamedPipeServerStreamAcl$instance {
|
|
311
|
-
static create(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int, pipeSecurity: PipeSecurity, inheritability?: HandleInheritability, additionalAccessRights?: PipeAccessRights): NamedPipeServerStream;
|
|
311
|
+
static create(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int, pipeSecurity: PipeSecurity | undefined, inheritability?: HandleInheritability, additionalAccessRights?: PipeAccessRights): NamedPipeServerStream;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
|