# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0

import enum

import winrt.system
from winrt import _winrt_windows_storage_streams

__all__ = [
    "ByteOrder",
    "FileOpenDisposition",
    "InputStreamOptions",
    "UnicodeEncoding",
    "Buffer",
    "DataReader",
    "DataReaderLoadOperation",
    "DataWriter",
    "DataWriterStoreOperation",
    "FileInputStream",
    "FileOutputStream",
    "FileRandomAccessStream",
    "InMemoryRandomAccessStream",
    "InputStreamOverStream",
    "OutputStreamOverStream",
    "RandomAccessStream",
    "RandomAccessStreamOverStream",
    "RandomAccessStreamReference",
    "IBuffer",
    "IContentTypeProvider",
    "IDataReader",
    "IDataWriter",
    "IInputStream",
    "IInputStreamReference",
    "IOutputStream",
    "IPropertySetSerializer",
    "IRandomAccessStream",
    "IRandomAccessStreamReference",
    "IRandomAccessStreamWithContentType",
]

class ByteOrder(enum.IntEnum):
    LITTLE_ENDIAN = 0
    BIG_ENDIAN = 1

class FileOpenDisposition(enum.IntEnum):
    OPEN_EXISTING = 0
    OPEN_ALWAYS = 1
    CREATE_NEW = 2
    CREATE_ALWAYS = 3
    TRUNCATE_EXISTING = 4

class InputStreamOptions(enum.IntFlag):
    NONE = 0x0
    PARTIAL = 0x1
    READ_AHEAD = 0x2

class UnicodeEncoding(enum.IntEnum):
    UTF8 = 0
    UTF16_L_E = 1
    UTF16_B_E = 2

Buffer = _winrt_windows_storage_streams.Buffer
DataReader = _winrt_windows_storage_streams.DataReader
DataReaderLoadOperation = _winrt_windows_storage_streams.DataReaderLoadOperation
DataWriter = _winrt_windows_storage_streams.DataWriter
DataWriterStoreOperation = _winrt_windows_storage_streams.DataWriterStoreOperation
FileInputStream = _winrt_windows_storage_streams.FileInputStream
FileOutputStream = _winrt_windows_storage_streams.FileOutputStream
FileRandomAccessStream = _winrt_windows_storage_streams.FileRandomAccessStream
InMemoryRandomAccessStream = _winrt_windows_storage_streams.InMemoryRandomAccessStream
InputStreamOverStream = _winrt_windows_storage_streams.InputStreamOverStream
OutputStreamOverStream = _winrt_windows_storage_streams.OutputStreamOverStream
RandomAccessStream = _winrt_windows_storage_streams.RandomAccessStream
RandomAccessStreamOverStream = _winrt_windows_storage_streams.RandomAccessStreamOverStream
RandomAccessStreamReference = _winrt_windows_storage_streams.RandomAccessStreamReference
IBuffer = _winrt_windows_storage_streams.IBuffer
IContentTypeProvider = _winrt_windows_storage_streams.IContentTypeProvider
IDataReader = _winrt_windows_storage_streams.IDataReader
IDataWriter = _winrt_windows_storage_streams.IDataWriter
IInputStream = _winrt_windows_storage_streams.IInputStream
IInputStreamReference = _winrt_windows_storage_streams.IInputStreamReference
IOutputStream = _winrt_windows_storage_streams.IOutputStream
IPropertySetSerializer = _winrt_windows_storage_streams.IPropertySetSerializer
IRandomAccessStream = _winrt_windows_storage_streams.IRandomAccessStream
IRandomAccessStreamReference = _winrt_windows_storage_streams.IRandomAccessStreamReference
IRandomAccessStreamWithContentType = _winrt_windows_storage_streams.IRandomAccessStreamWithContentType
