Метод | Описание | |
---|---|---|
AtCloseTag ( byte tag ) : bool |
Checks whether the next tag is a close tag with a certain tag number
|
|
AtOpenTag ( byte tag ) : bool |
Checks whether the next tag is an open tag with a certain tag number
|
|
AtTag ( byte tag, ApplicationTag defaultTag ) : bool |
Checks whether the next tag to be read matches a certain tag
|
|
EOF ( ) : bool |
Determines whether the reader is at the end of the stream
|
|
ReadBitString24 ( byte tag = 255 ) : |
Reads a bitstring tag from the stream
|
|
ReadBitString56 ( byte tag = 255 ) : |
Reads a bitstring tag from the stream
|
|
ReadBitString8 ( byte tag = 255 ) : |
Reads a bitstring tag from the stream
|
|
ReadBoolean ( byte tag = 255 ) : bool |
Reads a boolean tag from the stream
|
|
ReadCharString ( byte tag = 255 ) : string |
Reads a char string tag from the stream
|
|
ReadCloseTag ( byte tag ) : void |
Reads a close tag from the stream
|
|
ReadDate ( byte tag = 255 ) : Date |
Reads a date tag from the stream
|
|
ReadEnumerated ( byte tag = 255 ) : uint |
Reads an enumerated tag from the stream
|
|
ReadFloat32 ( byte tag = 255 ) : float |
Reads a float32 tag from the stream
|
|
ReadFloat64 ( byte tag = 255 ) : double |
Reads a float64 tag from the stream
|
|
ReadGeneric ( byte tag = 255 ) : GenericValue |
Reads a generic value from the stream
|
|
ReadNull ( byte tag = 255 ) : System.Null |
Reads a null tag from the stream
|
|
ReadObjectId ( byte tag = 255 ) : ObjectId |
Reads an object id tag from the stream
|
|
ReadOctetString ( byte tag = 255 ) : byte[] |
Reads an octet string tag from the stream
|
|
ReadOpenTag ( byte tag ) : void |
Reads an open tag from the stream
|
|
ReadSigned16 ( byte tag = 255 ) : short |
Reads a signed tag from the stream
|
|
ReadSigned32 ( byte tag = 255 ) : int |
Reads a signed tag from the stream
|
|
ReadSigned64 ( byte tag = 255 ) : long |
Reads a signed tag from the stream
|
|
ReadSigned8 ( byte tag = 255 ) : sbyte |
Reads a signed tag from the stream
|
|
ReadTime ( byte tag = 255 ) : |
Reads a time tag from the stream
|
|
ReadUnsigned16 ( byte tag = 255 ) : ushort |
Reads an unsigned tag from the stream
|
|
ReadUnsigned32 ( byte tag = 255 ) : uint |
Reads an unsigned tag from the stream
|
|
ReadUnsigned64 ( byte tag = 255 ) : ulong |
Reads an unsigned tag from the stream
|
|
ReadUnsigned8 ( byte tag = 255 ) : byte |
Reads an unsigned tag from the stream
|
|
TagReader ( Stream stream ) : System |
Constructs a new TagReader instance
|
Метод | Описание | |
---|---|---|
_ensureLVT ( LVT lvt ) : void |
Ensures that the current tag lvt is an expected value
|
|
_ensureLength ( int length ) : void |
Ensures that the current tag length is an expected value
|
|
_ensureLength ( int min, int max ) : void |
Ensures that the current tag length falls within an expected range
|
|
_ensureTag ( byte tag ) : void |
Ensures that the current tag meets an expected tag value
|
|
_ensureTag ( byte tag, ApplicationTag defaultTag ) : void |
Ensures that the current tag meets an expected tag value
|
|
_ensureType ( TagType type ) : void |
Ensures that the type of the read tag is an expected value
|
|
_nextHeader ( ) : void |
Reads the next header from the input stream
|
|
_peekHeader ( ) : bool |
Peeks at the next tag header, without consuming it
|
|
_readHeader ( ) : bool |
Reads the next header from the input stream if it hasn't already been read
|
public AtCloseTag ( byte tag ) : bool | ||
tag | byte | The tag number to check for, or 255 for no tag |
Результат | bool |
public AtOpenTag ( byte tag ) : bool | ||
tag | byte | The tag number to check for, or 255 for no tag |
Результат | bool |
public AtTag ( byte tag, ApplicationTag defaultTag ) : bool | ||
tag | byte | The tag number to check for, or 255 for an application tag |
defaultTag | ApplicationTag | The application tag to check for |
Результат | bool |
public ReadBitString24 ( byte tag = 255 ) : |
||
tag | byte | The tag number of the bitstring tag, or 255 for an application tag |
Результат |
public ReadBitString56 ( byte tag = 255 ) : |
||
tag | byte | The tag number of the bitstring tag, or 255 for an application tag |
Результат |
public ReadBitString8 ( byte tag = 255 ) : |
||
tag | byte | The tag number of the bitstring tag, or 255 for an application tag |
Результат |
public ReadBoolean ( byte tag = 255 ) : bool | ||
tag | byte | The tag number of the boolean tag, or 255 for an application tag |
Результат | bool |
public ReadCharString ( byte tag = 255 ) : string | ||
tag | byte | The tag number of the char string tag, or 255 for an application tag |
Результат | string |
public ReadCloseTag ( byte tag ) : void | ||
tag | byte | The tag number of the close tag, or 255 for no close tag |
Результат | void |
public ReadDate ( byte tag = 255 ) : Date | ||
tag | byte | The tag number of the date tag, or 255 for an application tag |
Результат | Date |
public ReadEnumerated ( byte tag = 255 ) : uint | ||
tag | byte | The tag number of the enumerated tag, or 255 for an application tag |
Результат | uint |
public ReadFloat32 ( byte tag = 255 ) : float | ||
tag | byte | The tag number of the float32 tag, or 255 for an application tag |
Результат | float |
public ReadFloat64 ( byte tag = 255 ) : double | ||
tag | byte | The tag number of the float64 tag, or 255 for an application tag |
Результат | double |
public ReadGeneric ( byte tag = 255 ) : GenericValue | ||
tag | byte | The tag number of the wrapping tags, or 255 for no wrapping tag |
Результат | GenericValue |
public ReadNull ( byte tag = 255 ) : System.Null | ||
tag | byte | The tag number of the null tag, or 255 for an application tag |
Результат | System.Null |
public ReadObjectId ( byte tag = 255 ) : ObjectId | ||
tag | byte | The tag number of the object id tag, or 255 for an application tag |
Результат | ObjectId |
public ReadOctetString ( byte tag = 255 ) : byte[] | ||
tag | byte | The tag number of the octet string tag, or 255 for an application tag |
Результат | byte[] |
public ReadOpenTag ( byte tag ) : void | ||
tag | byte | The tag number of the open tag, or 255 for no open tag |
Результат | void |
public ReadSigned16 ( byte tag = 255 ) : short | ||
tag | byte | The tag number of the signed tag, or 255 for an application tag |
Результат | short |
public ReadSigned32 ( byte tag = 255 ) : int | ||
tag | byte | The tag number of the signed tag, or 255 for an application tag |
Результат | int |
public ReadSigned64 ( byte tag = 255 ) : long | ||
tag | byte | The tag number of the signed tag, or 255 for an application tag |
Результат | long |
public ReadSigned8 ( byte tag = 255 ) : sbyte | ||
tag | byte | The tag number of the signed tag, or 255 for an application tag |
Результат | sbyte |
public ReadTime ( byte tag = 255 ) : |
||
tag | byte | The tag number of the time tag, or 255 for an application tag |
Результат |
public ReadUnsigned16 ( byte tag = 255 ) : ushort | ||
tag | byte | The tag number of the unsigned tag, or 255 for an application tag |
Результат | ushort |
public ReadUnsigned32 ( byte tag = 255 ) : uint | ||
tag | byte | The tag number of the unsigned tag, or 255 for an application tag |
Результат | uint |
public ReadUnsigned64 ( byte tag = 255 ) : ulong | ||
tag | byte | The tag number of the unsigned tag, or 255 for an application tag |
Результат | ulong |
public ReadUnsigned8 ( byte tag = 255 ) : byte | ||
tag | byte | The tag number of the unsigned tag, or 255 for an application tag |
Результат | byte |
public TagReader ( Stream stream ) : System | ||
stream | Stream | The stream to read from |
Результат | System |