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

import enum

import winrt.system
from winrt._winrt_windows_storage_streams import (
    Buffer,
    DataReader,
    DataReaderLoadOperation,
    DataWriter,
    DataWriterStoreOperation,
    FileInputStream,
    FileOutputStream,
    FileRandomAccessStream,
    InMemoryRandomAccessStream,
    InputStreamOverStream,
    OutputStreamOverStream,
    RandomAccessStream,
    RandomAccessStreamOverStream,
    RandomAccessStreamReference,
    _IBuffer,
    IBuffer,
    _IContentTypeProvider,
    IContentTypeProvider,
    _IDataReader,
    IDataReader,
    _IDataWriter,
    IDataWriter,
    _IInputStream,
    IInputStream,
    _IInputStreamReference,
    IInputStreamReference,
    _IOutputStream,
    IOutputStream,
    _IPropertySetSerializer,
    IPropertySetSerializer,
    _IRandomAccessStream,
    IRandomAccessStream,
    _IRandomAccessStreamReference,
    IRandomAccessStreamReference,
    _IRandomAccessStreamWithContentType,
    IRandomAccessStreamWithContentType,
)

__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

