C# 클래스 HotChai.Serialization.PortableBinary.PortableBinaryObjectReader

Reads an object using the Portable Binary Object Notation format.
상속: ObjectReader
파일 보기 프로젝트 열기: hotchai/serialize.net

공개 메소드들

메소드 설명
PortableBinaryObjectReader ( Stream stream ) : System

Initializes a new instance of the PortableBinaryObjectReader using the specified input stream.

보호된 메소드들

메소드 설명
PeekValueType ( ) : MemberValueType

Returns the MemberType of the value at the current reader position, without advancing the reader.

ReadEndArrayToken ( ) : void

Reads the end of the serialized array at the current position.

ReadEndObjectToken ( ) : void

Reads the end of the serialized object at the current position.

ReadNextObjectMemberKey ( ) : bool

Reads the next serialized object member key at the current position.

ReadPrimitiveValueAsBoolean ( ) : bool

Reads the current value as a Boolean type.

ReadPrimitiveValueAsBytes ( int quota ) : byte[]

Reads the current value as an array of Byte type.

ReadPrimitiveValueAsDouble ( ) : double

Reads the current value as a Double type.

ReadPrimitiveValueAsInt32 ( ) : int

Reads the current value as an Int32 type.

ReadPrimitiveValueAsInt64 ( ) : long

Reads the current value as an Int64 type.

ReadPrimitiveValueAsSingle ( ) : float

Reads the current value as a Single type.

ReadPrimitiveValueAsString ( int quota ) : string

Reads the current value as a String type.

ReadPrimitiveValueAsUInt32 ( ) : uint

Reads the current value as a UInt32 type.

ReadPrimitiveValueAsUInt64 ( ) : ulong

Reads the current value as a UInt64 type.

ReadStartArrayToken ( ) : bool

Reads the start of a serialized array at the current position.

ReadStartObjectToken ( ) : bool

Reads the start of a serialized object at the current position.

ReadToNextArrayValue ( ) : bool

Advances the reader to the next array value following the current position.

SkipPrimitiveValue ( ) : void

Skips the primitive value at the current reader position.

비공개 메소드들

메소드 설명
PeekPackedInt ( ) : int
ReadNullablePrimitiveLength ( int quota ) : int
ReadPackedInt ( ) : int

Big-endian variable-length quantity (VLQ) encoding

See http://en.wikipedia.org/wiki/Variable-length_quantity.

ReadPrimitiveLength ( int quota ) : int
TrySkipBytes ( int count ) : bool

메소드 상세

PeekValueType() 보호된 메소드

Returns the MemberType of the value at the current reader position, without advancing the reader.
protected PeekValueType ( ) : MemberValueType
리턴 MemberValueType

PortableBinaryObjectReader() 공개 메소드

Initializes a new instance of the PortableBinaryObjectReader using the specified input stream.
public PortableBinaryObjectReader ( Stream stream ) : System
stream Stream The input stream.
리턴 System

ReadEndArrayToken() 보호된 메소드

Reads the end of the serialized array at the current position.
protected ReadEndArrayToken ( ) : void
리턴 void

ReadEndObjectToken() 보호된 메소드

Reads the end of the serialized object at the current position.
protected ReadEndObjectToken ( ) : void
리턴 void

ReadNextObjectMemberKey() 보호된 메소드

Reads the next serialized object member key at the current position.
protected ReadNextObjectMemberKey ( ) : bool
리턴 bool

ReadPrimitiveValueAsBoolean() 보호된 메소드

Reads the current value as a Boolean type.
protected ReadPrimitiveValueAsBoolean ( ) : bool
리턴 bool

ReadPrimitiveValueAsBytes() 보호된 메소드

Reads the current value as an array of Byte type.
protected ReadPrimitiveValueAsBytes ( int quota ) : byte[]
quota int
리턴 byte[]

ReadPrimitiveValueAsDouble() 보호된 메소드

Reads the current value as a Double type.
protected ReadPrimitiveValueAsDouble ( ) : double
리턴 double

ReadPrimitiveValueAsInt32() 보호된 메소드

Reads the current value as an Int32 type.
protected ReadPrimitiveValueAsInt32 ( ) : int
리턴 int

ReadPrimitiveValueAsInt64() 보호된 메소드

Reads the current value as an Int64 type.
protected ReadPrimitiveValueAsInt64 ( ) : long
리턴 long

ReadPrimitiveValueAsSingle() 보호된 메소드

Reads the current value as a Single type.
protected ReadPrimitiveValueAsSingle ( ) : float
리턴 float

ReadPrimitiveValueAsString() 보호된 메소드

Reads the current value as a String type.
protected ReadPrimitiveValueAsString ( int quota ) : string
quota int
리턴 string

ReadPrimitiveValueAsUInt32() 보호된 메소드

Reads the current value as a UInt32 type.
protected ReadPrimitiveValueAsUInt32 ( ) : uint
리턴 uint

ReadPrimitiveValueAsUInt64() 보호된 메소드

Reads the current value as a UInt64 type.
protected ReadPrimitiveValueAsUInt64 ( ) : ulong
리턴 ulong

ReadStartArrayToken() 보호된 메소드

Reads the start of a serialized array at the current position.
protected ReadStartArrayToken ( ) : bool
리턴 bool

ReadStartObjectToken() 보호된 메소드

Reads the start of a serialized object at the current position.
protected ReadStartObjectToken ( ) : bool
리턴 bool

ReadToNextArrayValue() 보호된 메소드

Advances the reader to the next array value following the current position.
protected ReadToNextArrayValue ( ) : bool
리턴 bool

SkipPrimitiveValue() 보호된 메소드

Skips the primitive value at the current reader position.
protected SkipPrimitiveValue ( ) : void
리턴 void