Method | Description | |
---|---|---|
PortableBinaryObjectReader ( Stream stream ) : System |
Initializes a new instance of the
|
Method | Description | |
---|---|---|
PeekValueType ( ) : MemberValueType |
Returns the
|
|
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
|
|
ReadPrimitiveValueAsBytes ( int quota ) : byte[] |
Reads the current value as an array of
|
|
ReadPrimitiveValueAsDouble ( ) : double |
Reads the current value as a
|
|
ReadPrimitiveValueAsInt32 ( ) : int |
Reads the current value as an
|
|
ReadPrimitiveValueAsInt64 ( ) : long |
Reads the current value as an
|
|
ReadPrimitiveValueAsSingle ( ) : float |
Reads the current value as a
|
|
ReadPrimitiveValueAsString ( int quota ) : string |
Reads the current value as a
|
|
ReadPrimitiveValueAsUInt32 ( ) : uint |
Reads the current value as a
|
|
ReadPrimitiveValueAsUInt64 ( ) : ulong |
Reads the current value as a
|
|
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.
|
Method | Description | |
---|---|---|
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 |
protected PeekValueType ( ) : MemberValueType | ||
return | MemberValueType |
public PortableBinaryObjectReader ( Stream stream ) : System | ||
stream | Stream | The input stream. |
return | System |
protected ReadPrimitiveValueAsBoolean ( ) : bool | ||
return | bool |
protected ReadPrimitiveValueAsBytes ( int quota ) : byte[] | ||
quota | int | |
return | byte[] |
protected ReadPrimitiveValueAsDouble ( ) : double | ||
return | double |
protected ReadPrimitiveValueAsInt32 ( ) : int | ||
return | int |
protected ReadPrimitiveValueAsInt64 ( ) : long | ||
return | long |
protected ReadPrimitiveValueAsSingle ( ) : float | ||
return | float |
protected ReadPrimitiveValueAsString ( int quota ) : string | ||
quota | int | |
return | string |
protected ReadPrimitiveValueAsUInt32 ( ) : uint | ||
return | uint |
protected ReadPrimitiveValueAsUInt64 ( ) : ulong | ||
return | ulong |