C# Class HotChai.Serialization.Bencoding.BencodingObjectReader

Inheritance: ObjectReader
Show file Open project: hotchai/serialize.net

Public Methods

Method Description
BencodingObjectReader ( Stream stream ) : System

Protected Methods

Method Description
PeekValueType ( ) : MemberValueType
ReadEndArrayToken ( ) : void
ReadEndObjectToken ( ) : void
ReadNextObjectMemberKey ( ) : bool
ReadPrimitiveValueAsBoolean ( ) : bool
ReadPrimitiveValueAsBytes ( int quota ) : byte[]
ReadPrimitiveValueAsDouble ( ) : double
ReadPrimitiveValueAsInt32 ( ) : int
ReadPrimitiveValueAsInt64 ( ) : long
ReadPrimitiveValueAsSingle ( ) : float
ReadPrimitiveValueAsString ( int quota ) : string
ReadPrimitiveValueAsUInt32 ( ) : uint
ReadPrimitiveValueAsUInt64 ( ) : ulong
ReadStartArrayToken ( ) : bool
ReadStartObjectToken ( ) : bool
ReadToNextArrayValue ( ) : bool
SkipPrimitiveValue ( ) : void

Private Methods

Method Description
PeekToken ( ) : char
ReadToken ( ) : char
SkipInt ( ) : void

Method Details

BencodingObjectReader() public method

public BencodingObjectReader ( Stream stream ) : System
stream Stream
return System

PeekValueType() protected method

protected PeekValueType ( ) : MemberValueType
return MemberValueType

ReadEndArrayToken() protected method

protected ReadEndArrayToken ( ) : void
return void

ReadEndObjectToken() protected method

protected ReadEndObjectToken ( ) : void
return void

ReadNextObjectMemberKey() protected method

protected ReadNextObjectMemberKey ( ) : bool
return bool

ReadPrimitiveValueAsBoolean() protected method

protected ReadPrimitiveValueAsBoolean ( ) : bool
return bool

ReadPrimitiveValueAsBytes() protected method

protected ReadPrimitiveValueAsBytes ( int quota ) : byte[]
quota int
return byte[]

ReadPrimitiveValueAsDouble() protected method

protected ReadPrimitiveValueAsDouble ( ) : double
return double

ReadPrimitiveValueAsInt32() protected method

protected ReadPrimitiveValueAsInt32 ( ) : int
return int

ReadPrimitiveValueAsInt64() protected method

protected ReadPrimitiveValueAsInt64 ( ) : long
return long

ReadPrimitiveValueAsSingle() protected method

protected ReadPrimitiveValueAsSingle ( ) : float
return float

ReadPrimitiveValueAsString() protected method

protected ReadPrimitiveValueAsString ( int quota ) : string
quota int
return string

ReadPrimitiveValueAsUInt32() protected method

protected ReadPrimitiveValueAsUInt32 ( ) : uint
return uint

ReadPrimitiveValueAsUInt64() protected method

protected ReadPrimitiveValueAsUInt64 ( ) : ulong
return ulong

ReadStartArrayToken() protected method

protected ReadStartArrayToken ( ) : bool
return bool

ReadStartObjectToken() protected method

protected ReadStartObjectToken ( ) : bool
return bool

ReadToNextArrayValue() protected method

protected ReadToNextArrayValue ( ) : bool
return bool

SkipPrimitiveValue() protected method

protected SkipPrimitiveValue ( ) : void
return void