프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AssertCanReadContents | void | ||
AssertNotDisposed | void | ||
AssertRead | void | ||
CopyCore | object | ||
CreateEmberException | |||
CreateEmberException | |||
Dispose | void | ||
IsContainer | bool | ||
ProcessOuter | bool | ||
Read7Bit | int | ||
Read8Bit | long | ||
ReadAndProcessInner | void | ||
ReadAndProcessLength | void | ||
ReadCore | bool | ||
ReadIdentifier | EmberId | ||
ReadLength | int? | ||
ReadReal | double | ||
SkipCore | void | ||
ValidateIdentifierAndLength | int |
메소드 | 설명 | |
---|---|---|
Copy ( |
Reads the current data value and writes it to writer. If the EmberReader instance is currently placed on the start of a container, then skips to the end of the container, such that calling Read afterwards will place the reader on either a sibling of the container, the end of the parent container or the end of the stream. This method has no effect, if the reader is currently placed on a data value with primitive encoding (the next call to Read will skip possibly unread contents anyway). |
|
CopyToEndContainer ( |
Reads data and writes it to writer until the end of the current container is reached. While Read returns |
|
EmberReader ( Stream stream ) : System |
Initializes a new instance of the EmberReader class by calling EmberReader(Stream, int)">EmberReader( |
|
EmberReader ( Stream stream, int bufferSize ) : System |
Initializes a new instance of the EmberReader class.
|
|
Read ( ) : bool |
Advances the reader to the next data value in the stream. After this method returns When a EmberReader is first created and initialized, there is no information available. You must call Read to read the first data value. Possibly unread contents of the previous data value with primitive encoding is skipped automatically. |
|
ReadContentsAsBoolean ( ) : bool |
Reads the contents of the current data value as a bool.
|
|
ReadContentsAsByteArray ( ) : byte[] |
Reads the contents of the current data value as a byte array.
|
|
ReadContentsAsDouble ( ) : double |
Reads the contents of the current data value as a double.
|
|
ReadContentsAsInt32Array ( ) : int[] |
Reads the contents of the current data value as an int array.
|
|
ReadContentsAsInt64 ( ) : long |
Reads the contents of the current data value as a long.
|
|
ReadContentsAsObject ( ) : object |
Reads the contents of the current data value.
|
|
ReadContentsAsString ( ) : string |
Reads the contents of the current data value as a string.
|
|
Skip ( ) : void |
Skips the contents of the current data value. If the EmberReader instance is currently placed on the start of a container, then skips to the end of the container, such that calling Read afterwards will place the reader on either a sibling of the container, the end of the parent container or the end of the stream. This method has no effect, if the reader is currently placed on a data value with primitive encoding (the next call to Read will skip possibly unread contents anyway). |
|
SkipToEndContainer ( ) : void |
Skips to the end of the current container. While Read returns |
메소드 | 설명 | |
---|---|---|
AssertCanReadContents ( int expectedInnerNumber ) : void | ||
AssertNotDisposed ( ) : void | ||
AssertRead ( ) : void | ||
CopyCore ( |
||
CreateEmberException ( |
||
CreateEmberException ( string format ) : |
||
Dispose ( ) : void | ||
IsContainer ( PositionInfo position ) : bool | ||
ProcessOuter ( EmberId id, long idPosition ) : bool | ||
Read7Bit ( ReadBuffer readBuffer ) : int | ||
Read8Bit ( ReadBuffer readBuffer, int length, bool isSigned ) : long | ||
ReadAndProcessInner ( ) : void | ||
ReadAndProcessLength ( EmberId id, bool isInner ) : void | ||
ReadCore ( ) : bool | ||
ReadIdentifier ( ReadBuffer readBuffer ) : EmberId |
See "X.690"X.690, chapter 8.1.2.
|
|
ReadLength ( ReadBuffer readBuffer ) : int? |
See "X.690"X.690, chapter 8.1.3.
|
|
ReadReal ( ReadBuffer readBuffer, int length ) : double |
See "X.690"X.690, chapter 8.5 and
|
|
SkipCore ( int inner ) : void | ||
ValidateIdentifierAndLength ( EmberId innerIdentifier, long innerIdentifierPosition ) : int |
public CopyToEndContainer ( |
||
writer | ||
outerId | EmberId | |
리턴 | object |
public EmberReader ( Stream stream, int bufferSize ) : System | ||
stream | Stream | The stream from which the EmBER-encoded input will be read. |
bufferSize | int | The size of the internal buffer in bytes. |
리턴 | System |