IDataWriter Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides write access to an output stream.
public interface class IDataWriter
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1689817701, 54081, 18722, 179, 138, 221, 74, 248, 128, 140, 78)]
struct IDataWriter
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1689817701, 54081, 18722, 179, 138, 221, 74, 248, 128, 140, 78)]
public interface IDataWriter
Public Interface IDataWriter
- Derived
- Attributes
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Byte |
Gets or sets the byte order of the data in the output stream. |
Unicode |
Gets or sets the Unicode character encoding for the output stream. |
Unstored |
Gets the size of the buffer that has not been used. |
Detach |
Detaches a buffer that was previously attached to the writer. |
Detach |
Detaches a stream that was previously attached to the writer. |
Flush |
Flushes data asynchronously. |
Measure |
Gets the size of a string. |
Store |
Commits data in the buffer to a backing store. |
Write |
Writes a Boolean value to the output stream. |
Write |
Writes a range of bytes from a buffer to the output stream. |
Write |
Writes a number of bytes from a buffer to the output stream. |
Write |
Writes a byte value to the output stream. |
Write |
Writes an array of byte values to the output stream. |
Write |
Writes a date and time value to the output stream. |
Write |
Writes a floating-point value to the output stream. |
Write |
Writes a GUID value to the output stream. |
Write |
Writes a 16-bit integer value to the output stream. |
Write |
Writes a 32-bit integer value to the output stream. |
Write |
Writes a 64-bit integer value to the output stream. |
Write |
Write a floating-point value to the output stream. |
Write |
Writes a string value to the output stream. |
Write |
Writes a time interval value to the output stream. |
Write |
Writes a 16-bit unsigned integer value to the output stream. |
Write |
Writes a 32-bit unsigned integer value to the output stream. |
Write |
Writes a 64-bit unsigned integer value to the output stream. |