BinaryTokenStreamReader Class

Definition

Reader for Orleans binary token streams

public class BinaryTokenStreamReader
public class BinaryTokenStreamReader : Orleans.Serialization.IBinaryTokenStreamReader
type BinaryTokenStreamReader = class
type BinaryTokenStreamReader = class
    interface IBinaryTokenStreamReader
Public Class BinaryTokenStreamReader
Public Class BinaryTokenStreamReader
Implements IBinaryTokenStreamReader
Inheritance
BinaryTokenStreamReader
Implements

Constructors

BinaryTokenStreamReader(ArraySegment<Byte>)

Create a new BinaryTokenStreamReader to read from the specified input buffer.

BinaryTokenStreamReader(Byte[])

Create a new BinaryTokenStreamReader to read from the specified input byte array.

BinaryTokenStreamReader(IList<ArraySegment<Byte>>)

Create a new BinaryTokenStreamReader to read from the specified input buffers.

Properties

CurrentPosition

Current read position in the stream.

Length

Gets the total length.

Methods

Copy()

Creates a copy of the current stream reader.

PeekByte()
ReadBlockInto(Array, Int32)

Read a block of data into the specified output Array.

ReadBoolean()

Read a bool value from the stream.

ReadByte()

Read an byte value from the stream.

ReadByteArray(Byte[], Int32, Int32)

Read the next bytes from the stream.

ReadBytes(Int32)

Read the next bytes from the stream.

ReadChar()

Read an char value from the stream.

ReadDateTime()
ReadDecimal()

Read an decimal value from the stream.

ReadDouble()

Read an double value from the stream.

ReadFloat()

Read an float value from the stream.

ReadGuid()
ReadInt()

Read an Int32 value from the stream.

ReadIPAddress()

Read an IPAddress value from the stream.

ReadIPEndPoint()

Read an IPEndPoint value from the stream.

ReadLong()

Read an Int64 value from the stream.

ReadSByte()

Read an sbyte value from the stream.

ReadShort()

Read an Int16 value from the stream.

ReadSiloAddress()

Read an SiloAddress value from the stream.

ReadString()

Read an string value from the stream.

ReadTimeSpan()
ReadUInt()

Read an UInt32 value from the stream.

ReadULong()

Read an UInt64 value from the stream.

ReadUShort()

Read an UInt16 value from the stream.

Reset(IList<ArraySegment<Byte>>)

Resets this instance with the provided data.

Applies to