共用方式為


IBinaryTokenStreamReader 介面

定義

public interface IBinaryTokenStreamReader
type IBinaryTokenStreamReader = interface
Public Interface IBinaryTokenStreamReader
衍生

屬性

CurrentPosition

資料流程中的目前讀取位置。

Length

取得資料流程的總長度。

方法

Copy()

建立目前資料流程讀取器的複本。

PeekByte()
ReadBlockInto(Array, Int32)

將資料區塊讀入指定的輸出 Array 中。

ReadBoolean()

bool從資料流程讀取值。

ReadByte()

byte從資料流程讀取值。

ReadByteArray(Byte[], Int32, Int32)

從資料流程讀取下一個位元組。

ReadBytes(Int32)

從資料流程讀取下一個位元組。

ReadChar()

char從資料流程讀取值。

ReadDateTime()
ReadDecimal()

decimal從資料流程讀取值。

ReadDouble()

double從資料流程讀取值。

ReadFloat()

float從資料流程讀取值。

ReadGuid()
ReadInt()

Int32從資料流程讀取值。

ReadIPAddress()

IPAddress從資料流程讀取值。

ReadIPEndPoint()

IPEndPoint從資料流程讀取值。

ReadLong()

Int64從資料流程讀取值。

ReadSByte()

sbyte從資料流程讀取值。

ReadShort()

Int16從資料流程讀取值。

ReadSiloAddress()

SiloAddress從資料流程讀取值。

ReadString()

string從資料流程讀取值。

ReadTimeSpan()
ReadUInt()

UInt32從資料流程讀取值。

ReadULong()

UInt64從資料流程讀取值。

ReadUShort()

UInt16從資料流程讀取值。

Reset(IList<ArraySegment<Byte>>)

使用提供的資料重設這個實例。

適用於