信息
您所需的主题如下所示。但此主题未包含在此库中。

Windows.Storage.Streams Namespace

为读取以及写入随机顺序访问流提供支持。

成员

Windows.Storage.Streams命名空间 具有这些类型的成员:

Windows.Storage.Streams命名空间 具有这些类。

说明
Buffer Provides a default implementation of the IBuffer interface and its related interfaces.
DataReader Reads data from an input stream.
DataReaderLoadOperation Loads data from an input stream.
DataWriter Writes data to an output stream.
DataWriterStoreOperation Commits data in a buffer to a backing store.
FileInputStream Reads data from a file.
FileOutputStream Writes data to a file.
FileRandomAccessStream Supports reading and writing to a file at a specified position.
InMemoryRandomAccessStream Provides random access of data in input and output streams that are stored in memory instead of on disk.
InputStreamOverStream Provides a Windows Runtime input stream for an IStream base implementation.
OutputStreamOverStream Provides a Windows Runtime output stream for an IStream base implementation.
RandomAccessStream Provides random access of data in input and output streams.
RandomAccessStreamOverStream Provides a Windows Runtime random access stream for an IStream base implementation.
RandomAccessStreamReference Provides random access of data in input and output streams for a file.

 

枚举

Windows.Storage.Streams命名空间 具有这些枚举。

Enumeration说明
ByteOrder Specifies the byte order of a stream.
InputStreamOptions Specifies the read options for an input stream.
UnicodeEncoding Specifies the type of character encoding for a stream.

 

接口

Windows.Storage.Streams命名空间 定义这些接口。

接口说明
IBuffer Represents a referenced array of bytes used by byte stream read and write interfaces. Buffer is the class implementation of this interface.
IContentTypeProvider Characterizes the format of the data.
IDataReader Provides read access to an input stream.
IDataWriter Provides write access to an output stream.
IInputStream Represents a sequential stream of bytes to be read.
IInputStreamReference Enables a Windows Runtime component to provide sequential read access to an encapsulated stream.
IOutputStream Represents a sequential stream of bytes to be written.
IRandomAccessStream Supports random access of data in input and output streams.
IRandomAccessStreamReference Enables a Windows Runtime component to provide access to an encapsulated stream.
IRandomAccessStreamWithContentType Supports random access of data in input and output streams for a specified data format.

 

备注

流是字节序列的抽象,如文件、输出输入设备或套接字。在流上异步执行读取,编写和查找操作。

调用流上的 Close 方法将冲刷所有缓冲数据并发布文件句柄、套接字和内存等系统资源。

要求

最低支持客户端

Windows 8

最低支持服务器

Windows Server 2012

最低支持电话

Windows Phone 8

命名空间

Windows.Storage.Streams
Windows::Storage::Streams [C++]

元数据

Windows.winmd

 

 

显示: