winrt-Windows.Storage.Streams 3.2.1__cp314-cp314-win_amd64.whl
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.
- winrt/_winrt_windows_storage_streams.cp314-win_amd64.pyd +0 -0
- winrt/_winrt_windows_storage_streams.pyi +726 -0
- winrt/windows/storage/streams/__init__.py +97 -0
- winrt/windows/storage/streams/py.typed +0 -0
- winrt_windows_storage_streams-3.2.1.dist-info/METADATA +28 -0
- winrt_windows_storage_streams-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_storage_streams-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_storage_streams-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,726 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
from abc import abstractmethod
|
|
10
|
+
|
|
11
|
+
import winrt._winrt
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.storage as windows_storage
|
|
16
|
+
import winrt.windows.system as windows_system
|
|
17
|
+
|
|
18
|
+
from winrt.windows.storage.streams import ByteOrder, FileOpenDisposition, InputStreamOptions, UnicodeEncoding
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class Buffer_Static(winrt._winrt.IInspectable_Static):
|
|
24
|
+
# Windows.Storage.Streams.Buffer Windows.Storage.Streams.Buffer::CreateCopyFromMemoryBuffer(Windows.Foundation.IMemoryBuffer)
|
|
25
|
+
def create_copy_from_memory_buffer(cls, input: windows_foundation.IMemoryBuffer, /) -> Buffer: ...
|
|
26
|
+
# Windows.Foundation.MemoryBuffer Windows.Storage.Streams.Buffer::CreateMemoryBufferOverIBuffer(Windows.Storage.Streams.IBuffer)
|
|
27
|
+
def create_memory_buffer_over_ibuffer(cls, input: winrt.system.Buffer, /) -> windows_foundation.MemoryBuffer: ...
|
|
28
|
+
|
|
29
|
+
@typing.final
|
|
30
|
+
class Buffer(winrt.system.Object, IBuffer, metaclass=Buffer_Static):
|
|
31
|
+
def __buffer__(self, flags: int, /) -> memoryview: ...
|
|
32
|
+
def __release_buffer__(self, view: memoryview, /) -> None: ...
|
|
33
|
+
def __new__(cls: typing.Type[Self], capacity: winrt.system.UInt32) -> Self: ...
|
|
34
|
+
# System.UInt32 Windows.Storage.Streams.Buffer::get_Length()
|
|
35
|
+
@_property
|
|
36
|
+
def length(self) -> winrt.system.UInt32: ...
|
|
37
|
+
# System.Void Windows.Storage.Streams.Buffer::put_Length(System.UInt32)
|
|
38
|
+
@length.setter
|
|
39
|
+
def length(self, value: winrt.system.UInt32) -> None: ...
|
|
40
|
+
# System.UInt32 Windows.Storage.Streams.Buffer::get_Capacity()
|
|
41
|
+
@_property
|
|
42
|
+
def capacity(self) -> winrt.system.UInt32: ...
|
|
43
|
+
|
|
44
|
+
@typing.final
|
|
45
|
+
class DataReader_Static(winrt._winrt.IInspectable_Static):
|
|
46
|
+
# Windows.Storage.Streams.DataReader Windows.Storage.Streams.DataReader::FromBuffer(Windows.Storage.Streams.IBuffer)
|
|
47
|
+
def from_buffer(cls, buffer: winrt.system.Buffer, /) -> DataReader: ...
|
|
48
|
+
|
|
49
|
+
@typing.final
|
|
50
|
+
class DataReader(winrt.system.Object, windows_foundation.IClosable, IDataReader, metaclass=DataReader_Static):
|
|
51
|
+
def __enter__(self: Self) -> Self: ...
|
|
52
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
53
|
+
def __new__(cls: typing.Type[Self], input_stream: IInputStream) -> Self: ...
|
|
54
|
+
# System.Void Windows.Storage.Streams.DataReader::Close()
|
|
55
|
+
def close(self) -> None: ...
|
|
56
|
+
# Windows.Storage.Streams.IBuffer Windows.Storage.Streams.DataReader::DetachBuffer()
|
|
57
|
+
def detach_buffer(self) -> winrt.system.Buffer: ...
|
|
58
|
+
# Windows.Storage.Streams.IInputStream Windows.Storage.Streams.DataReader::DetachStream()
|
|
59
|
+
def detach_stream(self) -> IInputStream: ...
|
|
60
|
+
# Windows.Storage.Streams.DataReaderLoadOperation Windows.Storage.Streams.DataReader::LoadAsync(System.UInt32)
|
|
61
|
+
def load_async(self, count: winrt.system.UInt32, /) -> DataReaderLoadOperation: ...
|
|
62
|
+
# System.Boolean Windows.Storage.Streams.DataReader::ReadBoolean()
|
|
63
|
+
def read_boolean(self) -> bool: ...
|
|
64
|
+
# Windows.Storage.Streams.IBuffer Windows.Storage.Streams.DataReader::ReadBuffer(System.UInt32)
|
|
65
|
+
def read_buffer(self, length: winrt.system.UInt32, /) -> winrt.system.Buffer: ...
|
|
66
|
+
# System.Byte Windows.Storage.Streams.DataReader::ReadByte()
|
|
67
|
+
def read_byte(self) -> winrt.system.UInt8: ...
|
|
68
|
+
# System.Void Windows.Storage.Streams.DataReader::ReadBytes(System.Byte[])
|
|
69
|
+
def read_bytes(self, value: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.WriteableBuffer], /) -> None: ...
|
|
70
|
+
# Windows.Foundation.DateTime Windows.Storage.Streams.DataReader::ReadDateTime()
|
|
71
|
+
def read_date_time(self) -> datetime.datetime: ...
|
|
72
|
+
# System.Double Windows.Storage.Streams.DataReader::ReadDouble()
|
|
73
|
+
def read_double(self) -> winrt.system.Double: ...
|
|
74
|
+
# System.Guid Windows.Storage.Streams.DataReader::ReadGuid()
|
|
75
|
+
def read_guid(self) -> _uuid.UUID: ...
|
|
76
|
+
# System.Int16 Windows.Storage.Streams.DataReader::ReadInt16()
|
|
77
|
+
def read_int16(self) -> winrt.system.Int16: ...
|
|
78
|
+
# System.Int32 Windows.Storage.Streams.DataReader::ReadInt32()
|
|
79
|
+
def read_int32(self) -> winrt.system.Int32: ...
|
|
80
|
+
# System.Int64 Windows.Storage.Streams.DataReader::ReadInt64()
|
|
81
|
+
def read_int64(self) -> winrt.system.Int64: ...
|
|
82
|
+
# System.Single Windows.Storage.Streams.DataReader::ReadSingle()
|
|
83
|
+
def read_single(self) -> winrt.system.Single: ...
|
|
84
|
+
# System.String Windows.Storage.Streams.DataReader::ReadString(System.UInt32)
|
|
85
|
+
def read_string(self, code_unit_count: winrt.system.UInt32, /) -> str: ...
|
|
86
|
+
# Windows.Foundation.TimeSpan Windows.Storage.Streams.DataReader::ReadTimeSpan()
|
|
87
|
+
def read_time_span(self) -> datetime.timedelta: ...
|
|
88
|
+
# System.UInt16 Windows.Storage.Streams.DataReader::ReadUInt16()
|
|
89
|
+
def read_uint16(self) -> winrt.system.UInt16: ...
|
|
90
|
+
# System.UInt32 Windows.Storage.Streams.DataReader::ReadUInt32()
|
|
91
|
+
def read_uint32(self) -> winrt.system.UInt32: ...
|
|
92
|
+
# System.UInt64 Windows.Storage.Streams.DataReader::ReadUInt64()
|
|
93
|
+
def read_uint64(self) -> winrt.system.UInt64: ...
|
|
94
|
+
# Windows.Storage.Streams.UnicodeEncoding Windows.Storage.Streams.DataReader::get_UnicodeEncoding()
|
|
95
|
+
@_property
|
|
96
|
+
def unicode_encoding(self) -> UnicodeEncoding: ...
|
|
97
|
+
# System.Void Windows.Storage.Streams.DataReader::put_UnicodeEncoding(Windows.Storage.Streams.UnicodeEncoding)
|
|
98
|
+
@unicode_encoding.setter
|
|
99
|
+
def unicode_encoding(self, value: UnicodeEncoding) -> None: ...
|
|
100
|
+
# Windows.Storage.Streams.InputStreamOptions Windows.Storage.Streams.DataReader::get_InputStreamOptions()
|
|
101
|
+
@_property
|
|
102
|
+
def input_stream_options(self) -> InputStreamOptions: ...
|
|
103
|
+
# System.Void Windows.Storage.Streams.DataReader::put_InputStreamOptions(Windows.Storage.Streams.InputStreamOptions)
|
|
104
|
+
@input_stream_options.setter
|
|
105
|
+
def input_stream_options(self, value: InputStreamOptions) -> None: ...
|
|
106
|
+
# Windows.Storage.Streams.ByteOrder Windows.Storage.Streams.DataReader::get_ByteOrder()
|
|
107
|
+
@_property
|
|
108
|
+
def byte_order(self) -> ByteOrder: ...
|
|
109
|
+
# System.Void Windows.Storage.Streams.DataReader::put_ByteOrder(Windows.Storage.Streams.ByteOrder)
|
|
110
|
+
@byte_order.setter
|
|
111
|
+
def byte_order(self, value: ByteOrder) -> None: ...
|
|
112
|
+
# System.UInt32 Windows.Storage.Streams.DataReader::get_UnconsumedBufferLength()
|
|
113
|
+
@_property
|
|
114
|
+
def unconsumed_buffer_length(self) -> winrt.system.UInt32: ...
|
|
115
|
+
|
|
116
|
+
@typing.final
|
|
117
|
+
class DataReaderLoadOperation(winrt.system.Object, windows_foundation.IAsyncOperation[winrt.system.UInt32], windows_foundation.IAsyncInfo):
|
|
118
|
+
# System.Void Windows.Storage.Streams.DataReaderLoadOperation::Cancel()
|
|
119
|
+
def cancel(self) -> None: ...
|
|
120
|
+
# System.Void Windows.Storage.Streams.DataReaderLoadOperation::Close()
|
|
121
|
+
def close(self) -> None: ...
|
|
122
|
+
# System.UInt32 Windows.Storage.Streams.DataReaderLoadOperation::GetResults()
|
|
123
|
+
def get_results(self) -> winrt.system.UInt32: ...
|
|
124
|
+
# Windows.Foundation.HResult Windows.Storage.Streams.DataReaderLoadOperation::get_ErrorCode()
|
|
125
|
+
@_property
|
|
126
|
+
def error_code(self) -> windows_foundation.HResult: ...
|
|
127
|
+
# System.UInt32 Windows.Storage.Streams.DataReaderLoadOperation::get_Id()
|
|
128
|
+
@_property
|
|
129
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
130
|
+
# Windows.Foundation.AsyncStatus Windows.Storage.Streams.DataReaderLoadOperation::get_Status()
|
|
131
|
+
@_property
|
|
132
|
+
def status(self) -> windows_foundation.AsyncStatus: ...
|
|
133
|
+
# Windows.Foundation.AsyncOperationCompletedHandler`1<System.UInt32> Windows.Storage.Streams.DataReaderLoadOperation::get_Completed()
|
|
134
|
+
@_property
|
|
135
|
+
def completed(self) -> windows_foundation.AsyncOperationCompletedHandler[winrt.system.UInt32]: ...
|
|
136
|
+
# System.Void Windows.Storage.Streams.DataReaderLoadOperation::put_Completed(Windows.Foundation.AsyncOperationCompletedHandler`1<System.UInt32>)
|
|
137
|
+
@completed.setter
|
|
138
|
+
def completed(self, value: windows_foundation.AsyncOperationCompletedHandler[winrt.system.UInt32]) -> None: ...
|
|
139
|
+
|
|
140
|
+
@typing.final
|
|
141
|
+
class DataWriter(winrt.system.Object, windows_foundation.IClosable, IDataWriter):
|
|
142
|
+
def __enter__(self: Self) -> Self: ...
|
|
143
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
144
|
+
@typing.overload
|
|
145
|
+
def __new__(cls: typing.Type[Self], output_stream: IOutputStream) -> Self: ...
|
|
146
|
+
@typing.overload
|
|
147
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
148
|
+
# System.Void Windows.Storage.Streams.DataWriter::Close()
|
|
149
|
+
def close(self) -> None: ...
|
|
150
|
+
# Windows.Storage.Streams.IBuffer Windows.Storage.Streams.DataWriter::DetachBuffer()
|
|
151
|
+
def detach_buffer(self) -> winrt.system.Buffer: ...
|
|
152
|
+
# Windows.Storage.Streams.IOutputStream Windows.Storage.Streams.DataWriter::DetachStream()
|
|
153
|
+
def detach_stream(self) -> IOutputStream: ...
|
|
154
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Streams.DataWriter::FlushAsync()
|
|
155
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
156
|
+
# System.UInt32 Windows.Storage.Streams.DataWriter::MeasureString(System.String)
|
|
157
|
+
def measure_string(self, value: str, /) -> winrt.system.UInt32: ...
|
|
158
|
+
# Windows.Storage.Streams.DataWriterStoreOperation Windows.Storage.Streams.DataWriter::StoreAsync()
|
|
159
|
+
def store_async(self) -> DataWriterStoreOperation: ...
|
|
160
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteBoolean(System.Boolean)
|
|
161
|
+
def write_boolean(self, value: bool, /) -> None: ...
|
|
162
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteBuffer(Windows.Storage.Streams.IBuffer)
|
|
163
|
+
def write_buffer(self, buffer: winrt.system.Buffer, /) -> None: ...
|
|
164
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteBuffer(Windows.Storage.Streams.IBuffer,System.UInt32,System.UInt32)
|
|
165
|
+
def write_buffer_range(self, buffer: winrt.system.Buffer, start: winrt.system.UInt32, count: winrt.system.UInt32, /) -> None: ...
|
|
166
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteByte(System.Byte)
|
|
167
|
+
def write_byte(self, value: winrt.system.UInt8, /) -> None: ...
|
|
168
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteBytes(System.Byte[])
|
|
169
|
+
def write_bytes(self, value: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
|
|
170
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteDateTime(Windows.Foundation.DateTime)
|
|
171
|
+
def write_date_time(self, value: datetime.datetime, /) -> None: ...
|
|
172
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteDouble(System.Double)
|
|
173
|
+
def write_double(self, value: winrt.system.Double, /) -> None: ...
|
|
174
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteGuid(System.Guid)
|
|
175
|
+
def write_guid(self, value: _uuid.UUID, /) -> None: ...
|
|
176
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteInt16(System.Int16)
|
|
177
|
+
def write_int16(self, value: winrt.system.Int16, /) -> None: ...
|
|
178
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteInt32(System.Int32)
|
|
179
|
+
def write_int32(self, value: winrt.system.Int32, /) -> None: ...
|
|
180
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteInt64(System.Int64)
|
|
181
|
+
def write_int64(self, value: winrt.system.Int64, /) -> None: ...
|
|
182
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteSingle(System.Single)
|
|
183
|
+
def write_single(self, value: winrt.system.Single, /) -> None: ...
|
|
184
|
+
# System.UInt32 Windows.Storage.Streams.DataWriter::WriteString(System.String)
|
|
185
|
+
def write_string(self, value: str, /) -> winrt.system.UInt32: ...
|
|
186
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteTimeSpan(Windows.Foundation.TimeSpan)
|
|
187
|
+
def write_time_span(self, value: datetime.timedelta, /) -> None: ...
|
|
188
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteUInt16(System.UInt16)
|
|
189
|
+
def write_uint16(self, value: winrt.system.UInt16, /) -> None: ...
|
|
190
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteUInt32(System.UInt32)
|
|
191
|
+
def write_uint32(self, value: winrt.system.UInt32, /) -> None: ...
|
|
192
|
+
# System.Void Windows.Storage.Streams.DataWriter::WriteUInt64(System.UInt64)
|
|
193
|
+
def write_uint64(self, value: winrt.system.UInt64, /) -> None: ...
|
|
194
|
+
# Windows.Storage.Streams.UnicodeEncoding Windows.Storage.Streams.DataWriter::get_UnicodeEncoding()
|
|
195
|
+
@_property
|
|
196
|
+
def unicode_encoding(self) -> UnicodeEncoding: ...
|
|
197
|
+
# System.Void Windows.Storage.Streams.DataWriter::put_UnicodeEncoding(Windows.Storage.Streams.UnicodeEncoding)
|
|
198
|
+
@unicode_encoding.setter
|
|
199
|
+
def unicode_encoding(self, value: UnicodeEncoding) -> None: ...
|
|
200
|
+
# Windows.Storage.Streams.ByteOrder Windows.Storage.Streams.DataWriter::get_ByteOrder()
|
|
201
|
+
@_property
|
|
202
|
+
def byte_order(self) -> ByteOrder: ...
|
|
203
|
+
# System.Void Windows.Storage.Streams.DataWriter::put_ByteOrder(Windows.Storage.Streams.ByteOrder)
|
|
204
|
+
@byte_order.setter
|
|
205
|
+
def byte_order(self, value: ByteOrder) -> None: ...
|
|
206
|
+
# System.UInt32 Windows.Storage.Streams.DataWriter::get_UnstoredBufferLength()
|
|
207
|
+
@_property
|
|
208
|
+
def unstored_buffer_length(self) -> winrt.system.UInt32: ...
|
|
209
|
+
|
|
210
|
+
@typing.final
|
|
211
|
+
class DataWriterStoreOperation(winrt.system.Object, windows_foundation.IAsyncOperation[winrt.system.UInt32], windows_foundation.IAsyncInfo):
|
|
212
|
+
# System.Void Windows.Storage.Streams.DataWriterStoreOperation::Cancel()
|
|
213
|
+
def cancel(self) -> None: ...
|
|
214
|
+
# System.Void Windows.Storage.Streams.DataWriterStoreOperation::Close()
|
|
215
|
+
def close(self) -> None: ...
|
|
216
|
+
# System.UInt32 Windows.Storage.Streams.DataWriterStoreOperation::GetResults()
|
|
217
|
+
def get_results(self) -> winrt.system.UInt32: ...
|
|
218
|
+
# Windows.Foundation.HResult Windows.Storage.Streams.DataWriterStoreOperation::get_ErrorCode()
|
|
219
|
+
@_property
|
|
220
|
+
def error_code(self) -> windows_foundation.HResult: ...
|
|
221
|
+
# System.UInt32 Windows.Storage.Streams.DataWriterStoreOperation::get_Id()
|
|
222
|
+
@_property
|
|
223
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
224
|
+
# Windows.Foundation.AsyncStatus Windows.Storage.Streams.DataWriterStoreOperation::get_Status()
|
|
225
|
+
@_property
|
|
226
|
+
def status(self) -> windows_foundation.AsyncStatus: ...
|
|
227
|
+
# Windows.Foundation.AsyncOperationCompletedHandler`1<System.UInt32> Windows.Storage.Streams.DataWriterStoreOperation::get_Completed()
|
|
228
|
+
@_property
|
|
229
|
+
def completed(self) -> windows_foundation.AsyncOperationCompletedHandler[winrt.system.UInt32]: ...
|
|
230
|
+
# System.Void Windows.Storage.Streams.DataWriterStoreOperation::put_Completed(Windows.Foundation.AsyncOperationCompletedHandler`1<System.UInt32>)
|
|
231
|
+
@completed.setter
|
|
232
|
+
def completed(self, value: windows_foundation.AsyncOperationCompletedHandler[winrt.system.UInt32]) -> None: ...
|
|
233
|
+
|
|
234
|
+
@typing.final
|
|
235
|
+
class FileInputStream(winrt.system.Object, IInputStream, windows_foundation.IClosable):
|
|
236
|
+
def __enter__(self: Self) -> Self: ...
|
|
237
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
238
|
+
# System.Void Windows.Storage.Streams.FileInputStream::Close()
|
|
239
|
+
def close(self) -> None: ...
|
|
240
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt32> Windows.Storage.Streams.FileInputStream::ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions)
|
|
241
|
+
def read_async(self, buffer: winrt.system.Buffer, count: winrt.system.UInt32, options: InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt32]: ...
|
|
242
|
+
|
|
243
|
+
@typing.final
|
|
244
|
+
class FileOutputStream(winrt.system.Object, IOutputStream, windows_foundation.IClosable):
|
|
245
|
+
def __enter__(self: Self) -> Self: ...
|
|
246
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
247
|
+
# System.Void Windows.Storage.Streams.FileOutputStream::Close()
|
|
248
|
+
def close(self) -> None: ...
|
|
249
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Streams.FileOutputStream::FlushAsync()
|
|
250
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
251
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.Streams.FileOutputStream::WriteAsync(Windows.Storage.Streams.IBuffer)
|
|
252
|
+
def write_async(self, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
253
|
+
|
|
254
|
+
@typing.final
|
|
255
|
+
class FileRandomAccessStream_Static(winrt._winrt.IInspectable_Static):
|
|
256
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStream> Windows.Storage.Streams.FileRandomAccessStream::OpenAsync(System.String,Windows.Storage.FileAccessMode)
|
|
257
|
+
def open_async(cls, file_path: str, access_mode: windows_storage.FileAccessMode, /) -> windows_foundation.IAsyncOperation[IRandomAccessStream]: ...
|
|
258
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStream> Windows.Storage.Streams.FileRandomAccessStream::OpenForUserAsync(Windows.System.User,System.String,Windows.Storage.FileAccessMode)
|
|
259
|
+
def open_for_user_async(cls, user: windows_system.User, file_path: str, access_mode: windows_storage.FileAccessMode, /) -> windows_foundation.IAsyncOperation[IRandomAccessStream]: ...
|
|
260
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStream> Windows.Storage.Streams.FileRandomAccessStream::OpenForUserAsync(Windows.System.User,System.String,Windows.Storage.FileAccessMode,Windows.Storage.StorageOpenOptions,Windows.Storage.Streams.FileOpenDisposition)
|
|
261
|
+
def open_for_user_with_options_async(cls, user: windows_system.User, file_path: str, access_mode: windows_storage.FileAccessMode, sharing_options: windows_storage.StorageOpenOptions, open_disposition: FileOpenDisposition, /) -> windows_foundation.IAsyncOperation[IRandomAccessStream]: ...
|
|
262
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageStreamTransaction> Windows.Storage.Streams.FileRandomAccessStream::OpenTransactedWriteAsync(System.String)
|
|
263
|
+
def open_transacted_write_async(cls, file_path: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageStreamTransaction]: ...
|
|
264
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageStreamTransaction> Windows.Storage.Streams.FileRandomAccessStream::OpenTransactedWriteForUserAsync(Windows.System.User,System.String)
|
|
265
|
+
def open_transacted_write_for_user_async(cls, user: windows_system.User, file_path: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageStreamTransaction]: ...
|
|
266
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageStreamTransaction> Windows.Storage.Streams.FileRandomAccessStream::OpenTransactedWriteForUserAsync(Windows.System.User,System.String,Windows.Storage.StorageOpenOptions,Windows.Storage.Streams.FileOpenDisposition)
|
|
267
|
+
def open_transacted_write_for_user_with_options_async(cls, user: windows_system.User, file_path: str, open_options: windows_storage.StorageOpenOptions, open_disposition: FileOpenDisposition, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageStreamTransaction]: ...
|
|
268
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageStreamTransaction> Windows.Storage.Streams.FileRandomAccessStream::OpenTransactedWriteAsync(System.String,Windows.Storage.StorageOpenOptions,Windows.Storage.Streams.FileOpenDisposition)
|
|
269
|
+
def open_transacted_write_with_options_async(cls, file_path: str, open_options: windows_storage.StorageOpenOptions, open_disposition: FileOpenDisposition, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageStreamTransaction]: ...
|
|
270
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStream> Windows.Storage.Streams.FileRandomAccessStream::OpenAsync(System.String,Windows.Storage.FileAccessMode,Windows.Storage.StorageOpenOptions,Windows.Storage.Streams.FileOpenDisposition)
|
|
271
|
+
def open_with_options_async(cls, file_path: str, access_mode: windows_storage.FileAccessMode, sharing_options: windows_storage.StorageOpenOptions, open_disposition: FileOpenDisposition, /) -> windows_foundation.IAsyncOperation[IRandomAccessStream]: ...
|
|
272
|
+
|
|
273
|
+
@typing.final
|
|
274
|
+
class FileRandomAccessStream(winrt.system.Object, IRandomAccessStream, IOutputStream, IInputStream, windows_foundation.IClosable, metaclass=FileRandomAccessStream_Static):
|
|
275
|
+
def __enter__(self: Self) -> Self: ...
|
|
276
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
277
|
+
# Windows.Storage.Streams.IRandomAccessStream Windows.Storage.Streams.FileRandomAccessStream::CloneStream()
|
|
278
|
+
def clone_stream(self) -> IRandomAccessStream: ...
|
|
279
|
+
# System.Void Windows.Storage.Streams.FileRandomAccessStream::Close()
|
|
280
|
+
def close(self) -> None: ...
|
|
281
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Streams.FileRandomAccessStream::FlushAsync()
|
|
282
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
283
|
+
# Windows.Storage.Streams.IInputStream Windows.Storage.Streams.FileRandomAccessStream::GetInputStreamAt(System.UInt64)
|
|
284
|
+
def get_input_stream_at(self, position: winrt.system.UInt64, /) -> IInputStream: ...
|
|
285
|
+
# Windows.Storage.Streams.IOutputStream Windows.Storage.Streams.FileRandomAccessStream::GetOutputStreamAt(System.UInt64)
|
|
286
|
+
def get_output_stream_at(self, position: winrt.system.UInt64, /) -> IOutputStream: ...
|
|
287
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt32> Windows.Storage.Streams.FileRandomAccessStream::ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions)
|
|
288
|
+
def read_async(self, buffer: winrt.system.Buffer, count: winrt.system.UInt32, options: InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt32]: ...
|
|
289
|
+
# System.Void Windows.Storage.Streams.FileRandomAccessStream::Seek(System.UInt64)
|
|
290
|
+
def seek(self, position: winrt.system.UInt64, /) -> None: ...
|
|
291
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.Streams.FileRandomAccessStream::WriteAsync(Windows.Storage.Streams.IBuffer)
|
|
292
|
+
def write_async(self, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
293
|
+
# System.UInt64 Windows.Storage.Streams.FileRandomAccessStream::get_Size()
|
|
294
|
+
@_property
|
|
295
|
+
def size(self) -> winrt.system.UInt64: ...
|
|
296
|
+
# System.Void Windows.Storage.Streams.FileRandomAccessStream::put_Size(System.UInt64)
|
|
297
|
+
@size.setter
|
|
298
|
+
def size(self, value: winrt.system.UInt64) -> None: ...
|
|
299
|
+
# System.Boolean Windows.Storage.Streams.FileRandomAccessStream::get_CanRead()
|
|
300
|
+
@_property
|
|
301
|
+
def can_read(self) -> bool: ...
|
|
302
|
+
# System.Boolean Windows.Storage.Streams.FileRandomAccessStream::get_CanWrite()
|
|
303
|
+
@_property
|
|
304
|
+
def can_write(self) -> bool: ...
|
|
305
|
+
# System.UInt64 Windows.Storage.Streams.FileRandomAccessStream::get_Position()
|
|
306
|
+
@_property
|
|
307
|
+
def position(self) -> winrt.system.UInt64: ...
|
|
308
|
+
|
|
309
|
+
@typing.final
|
|
310
|
+
class InMemoryRandomAccessStream(winrt.system.Object, IRandomAccessStream, IOutputStream, IInputStream, windows_foundation.IClosable):
|
|
311
|
+
def __enter__(self: Self) -> Self: ...
|
|
312
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
313
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
314
|
+
# Windows.Storage.Streams.IRandomAccessStream Windows.Storage.Streams.InMemoryRandomAccessStream::CloneStream()
|
|
315
|
+
def clone_stream(self) -> IRandomAccessStream: ...
|
|
316
|
+
# System.Void Windows.Storage.Streams.InMemoryRandomAccessStream::Close()
|
|
317
|
+
def close(self) -> None: ...
|
|
318
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Streams.InMemoryRandomAccessStream::FlushAsync()
|
|
319
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
320
|
+
# Windows.Storage.Streams.IInputStream Windows.Storage.Streams.InMemoryRandomAccessStream::GetInputStreamAt(System.UInt64)
|
|
321
|
+
def get_input_stream_at(self, position: winrt.system.UInt64, /) -> IInputStream: ...
|
|
322
|
+
# Windows.Storage.Streams.IOutputStream Windows.Storage.Streams.InMemoryRandomAccessStream::GetOutputStreamAt(System.UInt64)
|
|
323
|
+
def get_output_stream_at(self, position: winrt.system.UInt64, /) -> IOutputStream: ...
|
|
324
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt32> Windows.Storage.Streams.InMemoryRandomAccessStream::ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions)
|
|
325
|
+
def read_async(self, buffer: winrt.system.Buffer, count: winrt.system.UInt32, options: InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt32]: ...
|
|
326
|
+
# System.Void Windows.Storage.Streams.InMemoryRandomAccessStream::Seek(System.UInt64)
|
|
327
|
+
def seek(self, position: winrt.system.UInt64, /) -> None: ...
|
|
328
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.Streams.InMemoryRandomAccessStream::WriteAsync(Windows.Storage.Streams.IBuffer)
|
|
329
|
+
def write_async(self, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
330
|
+
# System.UInt64 Windows.Storage.Streams.InMemoryRandomAccessStream::get_Size()
|
|
331
|
+
@_property
|
|
332
|
+
def size(self) -> winrt.system.UInt64: ...
|
|
333
|
+
# System.Void Windows.Storage.Streams.InMemoryRandomAccessStream::put_Size(System.UInt64)
|
|
334
|
+
@size.setter
|
|
335
|
+
def size(self, value: winrt.system.UInt64) -> None: ...
|
|
336
|
+
# System.Boolean Windows.Storage.Streams.InMemoryRandomAccessStream::get_CanRead()
|
|
337
|
+
@_property
|
|
338
|
+
def can_read(self) -> bool: ...
|
|
339
|
+
# System.Boolean Windows.Storage.Streams.InMemoryRandomAccessStream::get_CanWrite()
|
|
340
|
+
@_property
|
|
341
|
+
def can_write(self) -> bool: ...
|
|
342
|
+
# System.UInt64 Windows.Storage.Streams.InMemoryRandomAccessStream::get_Position()
|
|
343
|
+
@_property
|
|
344
|
+
def position(self) -> winrt.system.UInt64: ...
|
|
345
|
+
|
|
346
|
+
@typing.final
|
|
347
|
+
class InputStreamOverStream(winrt.system.Object, IInputStream, windows_foundation.IClosable):
|
|
348
|
+
def __enter__(self: Self) -> Self: ...
|
|
349
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
350
|
+
# System.Void Windows.Storage.Streams.InputStreamOverStream::Close()
|
|
351
|
+
def close(self) -> None: ...
|
|
352
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt32> Windows.Storage.Streams.InputStreamOverStream::ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions)
|
|
353
|
+
def read_async(self, buffer: winrt.system.Buffer, count: winrt.system.UInt32, options: InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt32]: ...
|
|
354
|
+
|
|
355
|
+
@typing.final
|
|
356
|
+
class OutputStreamOverStream(winrt.system.Object, IOutputStream, windows_foundation.IClosable):
|
|
357
|
+
def __enter__(self: Self) -> Self: ...
|
|
358
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
359
|
+
# System.Void Windows.Storage.Streams.OutputStreamOverStream::Close()
|
|
360
|
+
def close(self) -> None: ...
|
|
361
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Streams.OutputStreamOverStream::FlushAsync()
|
|
362
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
363
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.Streams.OutputStreamOverStream::WriteAsync(Windows.Storage.Streams.IBuffer)
|
|
364
|
+
def write_async(self, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
365
|
+
|
|
366
|
+
@typing.final
|
|
367
|
+
class RandomAccessStream_Static(winrt._winrt.IInspectable_Static):
|
|
368
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Storage.Streams.RandomAccessStream::CopyAndCloseAsync(Windows.Storage.Streams.IInputStream,Windows.Storage.Streams.IOutputStream)
|
|
369
|
+
def copy_and_close_async(cls, source: IInputStream, destination: IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
370
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Storage.Streams.RandomAccessStream::CopyAsync(Windows.Storage.Streams.IInputStream,Windows.Storage.Streams.IOutputStream)
|
|
371
|
+
def copy_async(cls, source: IInputStream, destination: IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
372
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt64,System.UInt64> Windows.Storage.Streams.RandomAccessStream::CopyAsync(Windows.Storage.Streams.IInputStream,Windows.Storage.Streams.IOutputStream,System.UInt64)
|
|
373
|
+
def copy_size_async(cls, source: IInputStream, destination: IOutputStream, bytes_to_copy: winrt.system.UInt64, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
374
|
+
|
|
375
|
+
@typing.final
|
|
376
|
+
class RandomAccessStream(winrt.system.Object, metaclass=RandomAccessStream_Static):
|
|
377
|
+
pass
|
|
378
|
+
|
|
379
|
+
@typing.final
|
|
380
|
+
class RandomAccessStreamOverStream(winrt.system.Object, IRandomAccessStream, IOutputStream, IInputStream, windows_foundation.IClosable):
|
|
381
|
+
def __enter__(self: Self) -> Self: ...
|
|
382
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
383
|
+
# Windows.Storage.Streams.IRandomAccessStream Windows.Storage.Streams.RandomAccessStreamOverStream::CloneStream()
|
|
384
|
+
def clone_stream(self) -> IRandomAccessStream: ...
|
|
385
|
+
# System.Void Windows.Storage.Streams.RandomAccessStreamOverStream::Close()
|
|
386
|
+
def close(self) -> None: ...
|
|
387
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Streams.RandomAccessStreamOverStream::FlushAsync()
|
|
388
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
389
|
+
# Windows.Storage.Streams.IInputStream Windows.Storage.Streams.RandomAccessStreamOverStream::GetInputStreamAt(System.UInt64)
|
|
390
|
+
def get_input_stream_at(self, position: winrt.system.UInt64, /) -> IInputStream: ...
|
|
391
|
+
# Windows.Storage.Streams.IOutputStream Windows.Storage.Streams.RandomAccessStreamOverStream::GetOutputStreamAt(System.UInt64)
|
|
392
|
+
def get_output_stream_at(self, position: winrt.system.UInt64, /) -> IOutputStream: ...
|
|
393
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt32> Windows.Storage.Streams.RandomAccessStreamOverStream::ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions)
|
|
394
|
+
def read_async(self, buffer: winrt.system.Buffer, count: winrt.system.UInt32, options: InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt32]: ...
|
|
395
|
+
# System.Void Windows.Storage.Streams.RandomAccessStreamOverStream::Seek(System.UInt64)
|
|
396
|
+
def seek(self, position: winrt.system.UInt64, /) -> None: ...
|
|
397
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.Streams.RandomAccessStreamOverStream::WriteAsync(Windows.Storage.Streams.IBuffer)
|
|
398
|
+
def write_async(self, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
399
|
+
# System.UInt64 Windows.Storage.Streams.RandomAccessStreamOverStream::get_Size()
|
|
400
|
+
@_property
|
|
401
|
+
def size(self) -> winrt.system.UInt64: ...
|
|
402
|
+
# System.Void Windows.Storage.Streams.RandomAccessStreamOverStream::put_Size(System.UInt64)
|
|
403
|
+
@size.setter
|
|
404
|
+
def size(self, value: winrt.system.UInt64) -> None: ...
|
|
405
|
+
# System.Boolean Windows.Storage.Streams.RandomAccessStreamOverStream::get_CanRead()
|
|
406
|
+
@_property
|
|
407
|
+
def can_read(self) -> bool: ...
|
|
408
|
+
# System.Boolean Windows.Storage.Streams.RandomAccessStreamOverStream::get_CanWrite()
|
|
409
|
+
@_property
|
|
410
|
+
def can_write(self) -> bool: ...
|
|
411
|
+
# System.UInt64 Windows.Storage.Streams.RandomAccessStreamOverStream::get_Position()
|
|
412
|
+
@_property
|
|
413
|
+
def position(self) -> winrt.system.UInt64: ...
|
|
414
|
+
|
|
415
|
+
@typing.final
|
|
416
|
+
class RandomAccessStreamReference_Static(winrt._winrt.IInspectable_Static):
|
|
417
|
+
# Windows.Storage.Streams.RandomAccessStreamReference Windows.Storage.Streams.RandomAccessStreamReference::CreateFromFile(Windows.Storage.IStorageFile)
|
|
418
|
+
def create_from_file(cls, file: windows_storage.IStorageFile, /) -> RandomAccessStreamReference: ...
|
|
419
|
+
# Windows.Storage.Streams.RandomAccessStreamReference Windows.Storage.Streams.RandomAccessStreamReference::CreateFromStream(Windows.Storage.Streams.IRandomAccessStream)
|
|
420
|
+
def create_from_stream(cls, stream: IRandomAccessStream, /) -> RandomAccessStreamReference: ...
|
|
421
|
+
# Windows.Storage.Streams.RandomAccessStreamReference Windows.Storage.Streams.RandomAccessStreamReference::CreateFromUri(Windows.Foundation.Uri)
|
|
422
|
+
def create_from_uri(cls, uri: windows_foundation.Uri, /) -> RandomAccessStreamReference: ...
|
|
423
|
+
|
|
424
|
+
@typing.final
|
|
425
|
+
class RandomAccessStreamReference(winrt.system.Object, IRandomAccessStreamReference, metaclass=RandomAccessStreamReference_Static):
|
|
426
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStreamWithContentType> Windows.Storage.Streams.RandomAccessStreamReference::OpenReadAsync()
|
|
427
|
+
def open_read_async(self) -> windows_foundation.IAsyncOperation[IRandomAccessStreamWithContentType]: ...
|
|
428
|
+
|
|
429
|
+
@typing.final
|
|
430
|
+
class _IBuffer: ...
|
|
431
|
+
|
|
432
|
+
class IBuffer(winrt._winrt.IInspectable):
|
|
433
|
+
def __buffer__(self, flags: int, /) -> memoryview: ...
|
|
434
|
+
def __release_buffer__(self, view: memoryview, /) -> None: ...
|
|
435
|
+
# System.UInt32 Windows.Storage.Streams.IBuffer::get_Capacity()
|
|
436
|
+
@_property
|
|
437
|
+
@abstractmethod
|
|
438
|
+
def capacity(self) -> winrt.system.UInt32: ...
|
|
439
|
+
# System.UInt32 Windows.Storage.Streams.IBuffer::get_Length()
|
|
440
|
+
@_property
|
|
441
|
+
@abstractmethod
|
|
442
|
+
def length(self) -> winrt.system.UInt32: ...
|
|
443
|
+
# System.Void Windows.Storage.Streams.IBuffer::put_Length(System.UInt32)
|
|
444
|
+
@length.setter
|
|
445
|
+
@abstractmethod
|
|
446
|
+
def length(self, value: winrt.system.UInt32) -> None: ...
|
|
447
|
+
|
|
448
|
+
@typing.final
|
|
449
|
+
class _IContentTypeProvider: ...
|
|
450
|
+
|
|
451
|
+
class IContentTypeProvider(winrt._winrt.IInspectable):
|
|
452
|
+
# System.String Windows.Storage.Streams.IContentTypeProvider::get_ContentType()
|
|
453
|
+
@_property
|
|
454
|
+
@abstractmethod
|
|
455
|
+
def content_type(self) -> str: ...
|
|
456
|
+
|
|
457
|
+
@typing.final
|
|
458
|
+
class _IDataReader: ...
|
|
459
|
+
|
|
460
|
+
class IDataReader(winrt._winrt.IInspectable):
|
|
461
|
+
# Windows.Storage.Streams.IBuffer Windows.Storage.Streams.IDataReader::DetachBuffer()
|
|
462
|
+
@abstractmethod
|
|
463
|
+
def detach_buffer(self) -> winrt.system.Buffer: ...
|
|
464
|
+
# Windows.Storage.Streams.IInputStream Windows.Storage.Streams.IDataReader::DetachStream()
|
|
465
|
+
@abstractmethod
|
|
466
|
+
def detach_stream(self) -> IInputStream: ...
|
|
467
|
+
# Windows.Storage.Streams.DataReaderLoadOperation Windows.Storage.Streams.IDataReader::LoadAsync(System.UInt32)
|
|
468
|
+
@abstractmethod
|
|
469
|
+
def load_async(self, count: winrt.system.UInt32, /) -> DataReaderLoadOperation: ...
|
|
470
|
+
# System.Boolean Windows.Storage.Streams.IDataReader::ReadBoolean()
|
|
471
|
+
@abstractmethod
|
|
472
|
+
def read_boolean(self) -> bool: ...
|
|
473
|
+
# Windows.Storage.Streams.IBuffer Windows.Storage.Streams.IDataReader::ReadBuffer(System.UInt32)
|
|
474
|
+
@abstractmethod
|
|
475
|
+
def read_buffer(self, length: winrt.system.UInt32, /) -> winrt.system.Buffer: ...
|
|
476
|
+
# System.Byte Windows.Storage.Streams.IDataReader::ReadByte()
|
|
477
|
+
@abstractmethod
|
|
478
|
+
def read_byte(self) -> winrt.system.UInt8: ...
|
|
479
|
+
# System.Void Windows.Storage.Streams.IDataReader::ReadBytes(System.Byte[])
|
|
480
|
+
@abstractmethod
|
|
481
|
+
def read_bytes(self, value: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.WriteableBuffer], /) -> None: ...
|
|
482
|
+
# Windows.Foundation.DateTime Windows.Storage.Streams.IDataReader::ReadDateTime()
|
|
483
|
+
@abstractmethod
|
|
484
|
+
def read_date_time(self) -> datetime.datetime: ...
|
|
485
|
+
# System.Double Windows.Storage.Streams.IDataReader::ReadDouble()
|
|
486
|
+
@abstractmethod
|
|
487
|
+
def read_double(self) -> winrt.system.Double: ...
|
|
488
|
+
# System.Guid Windows.Storage.Streams.IDataReader::ReadGuid()
|
|
489
|
+
@abstractmethod
|
|
490
|
+
def read_guid(self) -> _uuid.UUID: ...
|
|
491
|
+
# System.Int16 Windows.Storage.Streams.IDataReader::ReadInt16()
|
|
492
|
+
@abstractmethod
|
|
493
|
+
def read_int16(self) -> winrt.system.Int16: ...
|
|
494
|
+
# System.Int32 Windows.Storage.Streams.IDataReader::ReadInt32()
|
|
495
|
+
@abstractmethod
|
|
496
|
+
def read_int32(self) -> winrt.system.Int32: ...
|
|
497
|
+
# System.Int64 Windows.Storage.Streams.IDataReader::ReadInt64()
|
|
498
|
+
@abstractmethod
|
|
499
|
+
def read_int64(self) -> winrt.system.Int64: ...
|
|
500
|
+
# System.Single Windows.Storage.Streams.IDataReader::ReadSingle()
|
|
501
|
+
@abstractmethod
|
|
502
|
+
def read_single(self) -> winrt.system.Single: ...
|
|
503
|
+
# System.String Windows.Storage.Streams.IDataReader::ReadString(System.UInt32)
|
|
504
|
+
@abstractmethod
|
|
505
|
+
def read_string(self, code_unit_count: winrt.system.UInt32, /) -> str: ...
|
|
506
|
+
# Windows.Foundation.TimeSpan Windows.Storage.Streams.IDataReader::ReadTimeSpan()
|
|
507
|
+
@abstractmethod
|
|
508
|
+
def read_time_span(self) -> datetime.timedelta: ...
|
|
509
|
+
# System.UInt16 Windows.Storage.Streams.IDataReader::ReadUInt16()
|
|
510
|
+
@abstractmethod
|
|
511
|
+
def read_uint16(self) -> winrt.system.UInt16: ...
|
|
512
|
+
# System.UInt32 Windows.Storage.Streams.IDataReader::ReadUInt32()
|
|
513
|
+
@abstractmethod
|
|
514
|
+
def read_uint32(self) -> winrt.system.UInt32: ...
|
|
515
|
+
# System.UInt64 Windows.Storage.Streams.IDataReader::ReadUInt64()
|
|
516
|
+
@abstractmethod
|
|
517
|
+
def read_uint64(self) -> winrt.system.UInt64: ...
|
|
518
|
+
# Windows.Storage.Streams.ByteOrder Windows.Storage.Streams.IDataReader::get_ByteOrder()
|
|
519
|
+
@_property
|
|
520
|
+
@abstractmethod
|
|
521
|
+
def byte_order(self) -> ByteOrder: ...
|
|
522
|
+
# System.Void Windows.Storage.Streams.IDataReader::put_ByteOrder(Windows.Storage.Streams.ByteOrder)
|
|
523
|
+
@byte_order.setter
|
|
524
|
+
@abstractmethod
|
|
525
|
+
def byte_order(self, value: ByteOrder) -> None: ...
|
|
526
|
+
# Windows.Storage.Streams.InputStreamOptions Windows.Storage.Streams.IDataReader::get_InputStreamOptions()
|
|
527
|
+
@_property
|
|
528
|
+
@abstractmethod
|
|
529
|
+
def input_stream_options(self) -> InputStreamOptions: ...
|
|
530
|
+
# System.Void Windows.Storage.Streams.IDataReader::put_InputStreamOptions(Windows.Storage.Streams.InputStreamOptions)
|
|
531
|
+
@input_stream_options.setter
|
|
532
|
+
@abstractmethod
|
|
533
|
+
def input_stream_options(self, value: InputStreamOptions) -> None: ...
|
|
534
|
+
# System.UInt32 Windows.Storage.Streams.IDataReader::get_UnconsumedBufferLength()
|
|
535
|
+
@_property
|
|
536
|
+
@abstractmethod
|
|
537
|
+
def unconsumed_buffer_length(self) -> winrt.system.UInt32: ...
|
|
538
|
+
# Windows.Storage.Streams.UnicodeEncoding Windows.Storage.Streams.IDataReader::get_UnicodeEncoding()
|
|
539
|
+
@_property
|
|
540
|
+
@abstractmethod
|
|
541
|
+
def unicode_encoding(self) -> UnicodeEncoding: ...
|
|
542
|
+
# System.Void Windows.Storage.Streams.IDataReader::put_UnicodeEncoding(Windows.Storage.Streams.UnicodeEncoding)
|
|
543
|
+
@unicode_encoding.setter
|
|
544
|
+
@abstractmethod
|
|
545
|
+
def unicode_encoding(self, value: UnicodeEncoding) -> None: ...
|
|
546
|
+
|
|
547
|
+
@typing.final
|
|
548
|
+
class _IDataWriter: ...
|
|
549
|
+
|
|
550
|
+
class IDataWriter(winrt._winrt.IInspectable):
|
|
551
|
+
# Windows.Storage.Streams.IBuffer Windows.Storage.Streams.IDataWriter::DetachBuffer()
|
|
552
|
+
@abstractmethod
|
|
553
|
+
def detach_buffer(self) -> winrt.system.Buffer: ...
|
|
554
|
+
# Windows.Storage.Streams.IOutputStream Windows.Storage.Streams.IDataWriter::DetachStream()
|
|
555
|
+
@abstractmethod
|
|
556
|
+
def detach_stream(self) -> IOutputStream: ...
|
|
557
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Streams.IDataWriter::FlushAsync()
|
|
558
|
+
@abstractmethod
|
|
559
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
560
|
+
# System.UInt32 Windows.Storage.Streams.IDataWriter::MeasureString(System.String)
|
|
561
|
+
@abstractmethod
|
|
562
|
+
def measure_string(self, value: str, /) -> winrt.system.UInt32: ...
|
|
563
|
+
# Windows.Storage.Streams.DataWriterStoreOperation Windows.Storage.Streams.IDataWriter::StoreAsync()
|
|
564
|
+
@abstractmethod
|
|
565
|
+
def store_async(self) -> DataWriterStoreOperation: ...
|
|
566
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteBoolean(System.Boolean)
|
|
567
|
+
@abstractmethod
|
|
568
|
+
def write_boolean(self, value: bool, /) -> None: ...
|
|
569
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteBuffer(Windows.Storage.Streams.IBuffer)
|
|
570
|
+
@abstractmethod
|
|
571
|
+
def write_buffer(self, buffer: winrt.system.Buffer, /) -> None: ...
|
|
572
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteBuffer(Windows.Storage.Streams.IBuffer,System.UInt32,System.UInt32)
|
|
573
|
+
@abstractmethod
|
|
574
|
+
def write_buffer_range(self, buffer: winrt.system.Buffer, start: winrt.system.UInt32, count: winrt.system.UInt32, /) -> None: ...
|
|
575
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteByte(System.Byte)
|
|
576
|
+
@abstractmethod
|
|
577
|
+
def write_byte(self, value: winrt.system.UInt8, /) -> None: ...
|
|
578
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteBytes(System.Byte[])
|
|
579
|
+
@abstractmethod
|
|
580
|
+
def write_bytes(self, value: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
|
|
581
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteDateTime(Windows.Foundation.DateTime)
|
|
582
|
+
@abstractmethod
|
|
583
|
+
def write_date_time(self, value: datetime.datetime, /) -> None: ...
|
|
584
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteDouble(System.Double)
|
|
585
|
+
@abstractmethod
|
|
586
|
+
def write_double(self, value: winrt.system.Double, /) -> None: ...
|
|
587
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteGuid(System.Guid)
|
|
588
|
+
@abstractmethod
|
|
589
|
+
def write_guid(self, value: _uuid.UUID, /) -> None: ...
|
|
590
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteInt16(System.Int16)
|
|
591
|
+
@abstractmethod
|
|
592
|
+
def write_int16(self, value: winrt.system.Int16, /) -> None: ...
|
|
593
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteInt32(System.Int32)
|
|
594
|
+
@abstractmethod
|
|
595
|
+
def write_int32(self, value: winrt.system.Int32, /) -> None: ...
|
|
596
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteInt64(System.Int64)
|
|
597
|
+
@abstractmethod
|
|
598
|
+
def write_int64(self, value: winrt.system.Int64, /) -> None: ...
|
|
599
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteSingle(System.Single)
|
|
600
|
+
@abstractmethod
|
|
601
|
+
def write_single(self, value: winrt.system.Single, /) -> None: ...
|
|
602
|
+
# System.UInt32 Windows.Storage.Streams.IDataWriter::WriteString(System.String)
|
|
603
|
+
@abstractmethod
|
|
604
|
+
def write_string(self, value: str, /) -> winrt.system.UInt32: ...
|
|
605
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteTimeSpan(Windows.Foundation.TimeSpan)
|
|
606
|
+
@abstractmethod
|
|
607
|
+
def write_time_span(self, value: datetime.timedelta, /) -> None: ...
|
|
608
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteUInt16(System.UInt16)
|
|
609
|
+
@abstractmethod
|
|
610
|
+
def write_uint16(self, value: winrt.system.UInt16, /) -> None: ...
|
|
611
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteUInt32(System.UInt32)
|
|
612
|
+
@abstractmethod
|
|
613
|
+
def write_uint32(self, value: winrt.system.UInt32, /) -> None: ...
|
|
614
|
+
# System.Void Windows.Storage.Streams.IDataWriter::WriteUInt64(System.UInt64)
|
|
615
|
+
@abstractmethod
|
|
616
|
+
def write_uint64(self, value: winrt.system.UInt64, /) -> None: ...
|
|
617
|
+
# Windows.Storage.Streams.ByteOrder Windows.Storage.Streams.IDataWriter::get_ByteOrder()
|
|
618
|
+
@_property
|
|
619
|
+
@abstractmethod
|
|
620
|
+
def byte_order(self) -> ByteOrder: ...
|
|
621
|
+
# System.Void Windows.Storage.Streams.IDataWriter::put_ByteOrder(Windows.Storage.Streams.ByteOrder)
|
|
622
|
+
@byte_order.setter
|
|
623
|
+
@abstractmethod
|
|
624
|
+
def byte_order(self, value: ByteOrder) -> None: ...
|
|
625
|
+
# Windows.Storage.Streams.UnicodeEncoding Windows.Storage.Streams.IDataWriter::get_UnicodeEncoding()
|
|
626
|
+
@_property
|
|
627
|
+
@abstractmethod
|
|
628
|
+
def unicode_encoding(self) -> UnicodeEncoding: ...
|
|
629
|
+
# System.Void Windows.Storage.Streams.IDataWriter::put_UnicodeEncoding(Windows.Storage.Streams.UnicodeEncoding)
|
|
630
|
+
@unicode_encoding.setter
|
|
631
|
+
@abstractmethod
|
|
632
|
+
def unicode_encoding(self, value: UnicodeEncoding) -> None: ...
|
|
633
|
+
# System.UInt32 Windows.Storage.Streams.IDataWriter::get_UnstoredBufferLength()
|
|
634
|
+
@_property
|
|
635
|
+
@abstractmethod
|
|
636
|
+
def unstored_buffer_length(self) -> winrt.system.UInt32: ...
|
|
637
|
+
|
|
638
|
+
@typing.final
|
|
639
|
+
class _IInputStream: ...
|
|
640
|
+
|
|
641
|
+
class IInputStream(windows_foundation.IClosable, winrt._winrt.IInspectable):
|
|
642
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt32> Windows.Storage.Streams.IInputStream::ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions)
|
|
643
|
+
@abstractmethod
|
|
644
|
+
def read_async(self, buffer: winrt.system.Buffer, count: winrt.system.UInt32, options: InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt32]: ...
|
|
645
|
+
|
|
646
|
+
@typing.final
|
|
647
|
+
class _IInputStreamReference: ...
|
|
648
|
+
|
|
649
|
+
class IInputStreamReference(winrt._winrt.IInspectable):
|
|
650
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IInputStream> Windows.Storage.Streams.IInputStreamReference::OpenSequentialReadAsync()
|
|
651
|
+
@abstractmethod
|
|
652
|
+
def open_sequential_read_async(self) -> windows_foundation.IAsyncOperation[IInputStream]: ...
|
|
653
|
+
|
|
654
|
+
@typing.final
|
|
655
|
+
class _IOutputStream: ...
|
|
656
|
+
|
|
657
|
+
class IOutputStream(windows_foundation.IClosable, winrt._winrt.IInspectable):
|
|
658
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Streams.IOutputStream::FlushAsync()
|
|
659
|
+
@abstractmethod
|
|
660
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
661
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.Streams.IOutputStream::WriteAsync(Windows.Storage.Streams.IBuffer)
|
|
662
|
+
@abstractmethod
|
|
663
|
+
def write_async(self, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
664
|
+
|
|
665
|
+
@typing.final
|
|
666
|
+
class _IPropertySetSerializer: ...
|
|
667
|
+
|
|
668
|
+
class IPropertySetSerializer(winrt._winrt.IInspectable):
|
|
669
|
+
# System.Void Windows.Storage.Streams.IPropertySetSerializer::Deserialize(Windows.Foundation.Collections.IPropertySet,Windows.Storage.Streams.IBuffer)
|
|
670
|
+
@abstractmethod
|
|
671
|
+
def deserialize(self, property_set: windows_foundation_collections.IPropertySet, buffer: winrt.system.Buffer, /) -> None: ...
|
|
672
|
+
# Windows.Storage.Streams.IBuffer Windows.Storage.Streams.IPropertySetSerializer::Serialize(Windows.Foundation.Collections.IPropertySet)
|
|
673
|
+
@abstractmethod
|
|
674
|
+
def serialize(self, property_set: windows_foundation_collections.IPropertySet, /) -> winrt.system.Buffer: ...
|
|
675
|
+
|
|
676
|
+
@typing.final
|
|
677
|
+
class _IRandomAccessStream: ...
|
|
678
|
+
|
|
679
|
+
class IRandomAccessStream(IOutputStream, IInputStream, windows_foundation.IClosable, winrt._winrt.IInspectable):
|
|
680
|
+
# Windows.Storage.Streams.IRandomAccessStream Windows.Storage.Streams.IRandomAccessStream::CloneStream()
|
|
681
|
+
@abstractmethod
|
|
682
|
+
def clone_stream(self) -> IRandomAccessStream: ...
|
|
683
|
+
# Windows.Storage.Streams.IInputStream Windows.Storage.Streams.IRandomAccessStream::GetInputStreamAt(System.UInt64)
|
|
684
|
+
@abstractmethod
|
|
685
|
+
def get_input_stream_at(self, position: winrt.system.UInt64, /) -> IInputStream: ...
|
|
686
|
+
# Windows.Storage.Streams.IOutputStream Windows.Storage.Streams.IRandomAccessStream::GetOutputStreamAt(System.UInt64)
|
|
687
|
+
@abstractmethod
|
|
688
|
+
def get_output_stream_at(self, position: winrt.system.UInt64, /) -> IOutputStream: ...
|
|
689
|
+
# System.Void Windows.Storage.Streams.IRandomAccessStream::Seek(System.UInt64)
|
|
690
|
+
@abstractmethod
|
|
691
|
+
def seek(self, position: winrt.system.UInt64, /) -> None: ...
|
|
692
|
+
# System.Boolean Windows.Storage.Streams.IRandomAccessStream::get_CanRead()
|
|
693
|
+
@_property
|
|
694
|
+
@abstractmethod
|
|
695
|
+
def can_read(self) -> bool: ...
|
|
696
|
+
# System.Boolean Windows.Storage.Streams.IRandomAccessStream::get_CanWrite()
|
|
697
|
+
@_property
|
|
698
|
+
@abstractmethod
|
|
699
|
+
def can_write(self) -> bool: ...
|
|
700
|
+
# System.UInt64 Windows.Storage.Streams.IRandomAccessStream::get_Position()
|
|
701
|
+
@_property
|
|
702
|
+
@abstractmethod
|
|
703
|
+
def position(self) -> winrt.system.UInt64: ...
|
|
704
|
+
# System.UInt64 Windows.Storage.Streams.IRandomAccessStream::get_Size()
|
|
705
|
+
@_property
|
|
706
|
+
@abstractmethod
|
|
707
|
+
def size(self) -> winrt.system.UInt64: ...
|
|
708
|
+
# System.Void Windows.Storage.Streams.IRandomAccessStream::put_Size(System.UInt64)
|
|
709
|
+
@size.setter
|
|
710
|
+
@abstractmethod
|
|
711
|
+
def size(self, value: winrt.system.UInt64) -> None: ...
|
|
712
|
+
|
|
713
|
+
@typing.final
|
|
714
|
+
class _IRandomAccessStreamReference: ...
|
|
715
|
+
|
|
716
|
+
class IRandomAccessStreamReference(winrt._winrt.IInspectable):
|
|
717
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStreamWithContentType> Windows.Storage.Streams.IRandomAccessStreamReference::OpenReadAsync()
|
|
718
|
+
@abstractmethod
|
|
719
|
+
def open_read_async(self) -> windows_foundation.IAsyncOperation[IRandomAccessStreamWithContentType]: ...
|
|
720
|
+
|
|
721
|
+
@typing.final
|
|
722
|
+
class _IRandomAccessStreamWithContentType: ...
|
|
723
|
+
|
|
724
|
+
class IRandomAccessStreamWithContentType(IContentTypeProvider, IRandomAccessStream, IOutputStream, IInputStream, windows_foundation.IClosable, winrt._winrt.IInspectable): # type: ignore[misc]
|
|
725
|
+
pass
|
|
726
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_storage_streams import (
|
|
7
|
+
Buffer,
|
|
8
|
+
DataReader,
|
|
9
|
+
DataReaderLoadOperation,
|
|
10
|
+
DataWriter,
|
|
11
|
+
DataWriterStoreOperation,
|
|
12
|
+
FileInputStream,
|
|
13
|
+
FileOutputStream,
|
|
14
|
+
FileRandomAccessStream,
|
|
15
|
+
InMemoryRandomAccessStream,
|
|
16
|
+
InputStreamOverStream,
|
|
17
|
+
OutputStreamOverStream,
|
|
18
|
+
RandomAccessStream,
|
|
19
|
+
RandomAccessStreamOverStream,
|
|
20
|
+
RandomAccessStreamReference,
|
|
21
|
+
_IBuffer,
|
|
22
|
+
IBuffer,
|
|
23
|
+
_IContentTypeProvider,
|
|
24
|
+
IContentTypeProvider,
|
|
25
|
+
_IDataReader,
|
|
26
|
+
IDataReader,
|
|
27
|
+
_IDataWriter,
|
|
28
|
+
IDataWriter,
|
|
29
|
+
_IInputStream,
|
|
30
|
+
IInputStream,
|
|
31
|
+
_IInputStreamReference,
|
|
32
|
+
IInputStreamReference,
|
|
33
|
+
_IOutputStream,
|
|
34
|
+
IOutputStream,
|
|
35
|
+
_IPropertySetSerializer,
|
|
36
|
+
IPropertySetSerializer,
|
|
37
|
+
_IRandomAccessStream,
|
|
38
|
+
IRandomAccessStream,
|
|
39
|
+
_IRandomAccessStreamReference,
|
|
40
|
+
IRandomAccessStreamReference,
|
|
41
|
+
_IRandomAccessStreamWithContentType,
|
|
42
|
+
IRandomAccessStreamWithContentType,
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
__all__ = [
|
|
46
|
+
"ByteOrder",
|
|
47
|
+
"FileOpenDisposition",
|
|
48
|
+
"InputStreamOptions",
|
|
49
|
+
"UnicodeEncoding",
|
|
50
|
+
"Buffer",
|
|
51
|
+
"DataReader",
|
|
52
|
+
"DataReaderLoadOperation",
|
|
53
|
+
"DataWriter",
|
|
54
|
+
"DataWriterStoreOperation",
|
|
55
|
+
"FileInputStream",
|
|
56
|
+
"FileOutputStream",
|
|
57
|
+
"FileRandomAccessStream",
|
|
58
|
+
"InMemoryRandomAccessStream",
|
|
59
|
+
"InputStreamOverStream",
|
|
60
|
+
"OutputStreamOverStream",
|
|
61
|
+
"RandomAccessStream",
|
|
62
|
+
"RandomAccessStreamOverStream",
|
|
63
|
+
"RandomAccessStreamReference",
|
|
64
|
+
"IBuffer",
|
|
65
|
+
"IContentTypeProvider",
|
|
66
|
+
"IDataReader",
|
|
67
|
+
"IDataWriter",
|
|
68
|
+
"IInputStream",
|
|
69
|
+
"IInputStreamReference",
|
|
70
|
+
"IOutputStream",
|
|
71
|
+
"IPropertySetSerializer",
|
|
72
|
+
"IRandomAccessStream",
|
|
73
|
+
"IRandomAccessStreamReference",
|
|
74
|
+
"IRandomAccessStreamWithContentType",
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
class ByteOrder(enum.IntEnum):
|
|
78
|
+
LITTLE_ENDIAN = 0
|
|
79
|
+
BIG_ENDIAN = 1
|
|
80
|
+
|
|
81
|
+
class FileOpenDisposition(enum.IntEnum):
|
|
82
|
+
OPEN_EXISTING = 0
|
|
83
|
+
OPEN_ALWAYS = 1
|
|
84
|
+
CREATE_NEW = 2
|
|
85
|
+
CREATE_ALWAYS = 3
|
|
86
|
+
TRUNCATE_EXISTING = 4
|
|
87
|
+
|
|
88
|
+
class InputStreamOptions(enum.IntFlag):
|
|
89
|
+
NONE = 0x0
|
|
90
|
+
PARTIAL = 0x1
|
|
91
|
+
READ_AHEAD = 0x2
|
|
92
|
+
|
|
93
|
+
class UnicodeEncoding(enum.IntEnum):
|
|
94
|
+
UTF8 = 0
|
|
95
|
+
UTF16_L_E = 1
|
|
96
|
+
UTF16_B_E = 2
|
|
97
|
+
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Storage.Streams
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.Storage.Streams
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Storage.Streams` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.storage.streams` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_storage_streams.cp314-win_amd64.pyd,sha256=4ay1G2rBC6_Cu9ZWEFT8eUuK1UPtm1e4UFOww6AxBSU,427008
|
|
2
|
+
winrt/_winrt_windows_storage_streams.pyi,sha256=taEmcR-uCqYTD7lyYpvQI0WJQQz9HVGYtv6eqXVCGf0,49360
|
|
3
|
+
winrt/windows/storage/streams/__init__.py,sha256=AlGNdDylDmT5ZX90aJwJ3sVt8mNWXh4GwVMUTQMvUXo,2239
|
|
4
|
+
winrt/windows/storage/streams/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_storage_streams-3.2.1.dist-info/METADATA,sha256=yQgybrbFCGarTkyJlNRpKuA8tO_0aHzbscAWhB0GriI,1267
|
|
6
|
+
winrt_windows_storage_streams-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
|
|
7
|
+
winrt_windows_storage_streams-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_storage_streams-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|