IDataReader IDataReader IDataReader IDataReader IDataReader Interface

Definition

Provides read access to an input stream.

public : interface IDataReader
struct winrt::Windows::Storage::Streams::IDataReader
public interface IDataReader
Public Interface IDataReader
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

ByteOrder ByteOrder ByteOrder ByteOrder ByteOrder

Gets or sets the byte order of the data in the input stream.

InputStreamOptions InputStreamOptions InputStreamOptions InputStreamOptions InputStreamOptions

Gets or sets the read options for the input stream.

UnconsumedBufferLength UnconsumedBufferLength UnconsumedBufferLength UnconsumedBufferLength UnconsumedBufferLength

Gets the size of the buffer that has not been read.

UnicodeEncoding UnicodeEncoding UnicodeEncoding UnicodeEncoding UnicodeEncoding

Gets or sets the Unicode character encoding for the input stream.

Methods

DetachBuffer() DetachBuffer() DetachBuffer() DetachBuffer() DetachBuffer()

Detaches a buffer that was previously attached to the reader.

DetachStream() DetachStream() DetachStream() DetachStream() DetachStream()

Detaches a stream that was previously attached to the reader.

LoadAsync(UInt32) LoadAsync(UInt32) LoadAsync(UInt32) LoadAsync(UInt32) LoadAsync(UInt32)

Loads data from the input stream.

ReadBoolean() ReadBoolean() ReadBoolean() ReadBoolean() ReadBoolean()

Reads a Boolean value from the input stream.

ReadBuffer(UInt32) ReadBuffer(UInt32) ReadBuffer(UInt32) ReadBuffer(UInt32) ReadBuffer(UInt32)

Reads a buffer from the input stream.

ReadByte() ReadByte() ReadByte() ReadByte() ReadByte()

Reads a byte value from the input stream.

ReadBytes(Byte[]) ReadBytes(Byte[]) ReadBytes(Byte[]) ReadBytes(Byte[]) ReadBytes(Byte[])

Reads an array of byte values from the input stream.

ReadDateTime() ReadDateTime() ReadDateTime() ReadDateTime() ReadDateTime()

Reads a date and time value from the input stream.

ReadDouble() ReadDouble() ReadDouble() ReadDouble() ReadDouble()

Reads a floating-point value from the input stream.

ReadGuid() ReadGuid() ReadGuid() ReadGuid() ReadGuid()

Reads a GUID value from the input stream.

ReadInt16() ReadInt16() ReadInt16() ReadInt16() ReadInt16()

Reads a 16-bit integer value from the input stream.

ReadInt32() ReadInt32() ReadInt32() ReadInt32() ReadInt32()

Reads a 32-bit integer value from the input stream.

ReadInt64() ReadInt64() ReadInt64() ReadInt64() ReadInt64()

Reads a 64-bit integer value from the input stream.

ReadSingle() ReadSingle() ReadSingle() ReadSingle() ReadSingle()

Reads a floating-point value from the input stream.

ReadString(UInt32) ReadString(UInt32) ReadString(UInt32) ReadString(UInt32) ReadString(UInt32)

Reads a string value from the input stream.

ReadTimeSpan() ReadTimeSpan() ReadTimeSpan() ReadTimeSpan() ReadTimeSpan()

Reads a time interval from the input stream.

ReadUInt16() ReadUInt16() ReadUInt16() ReadUInt16() ReadUInt16()

Reads a 16-bit unsigned integer from the input stream.

ReadUInt32() ReadUInt32() ReadUInt32() ReadUInt32() ReadUInt32()

Reads a 32-bit unsigned integer from the input stream.

ReadUInt64() ReadUInt64() ReadUInt64() ReadUInt64() ReadUInt64()

Reads a 64-bit unsigned integer from the input stream.