Méthode | Description | |
---|---|---|
TagWriter ( Stream stream ) : System |
Constructs a new TagWriter instance
|
|
WriteBitString24 ( |
Writes a bitstring value to the stream
|
|
WriteBitString56 ( |
Writes a bitstring value to the stream
|
|
WriteBitString8 ( |
Writes a bitstring value to the stream
|
|
WriteBoolean ( bool value, byte tag = 255 ) : void |
Writes a boolean tag to the stream
|
|
WriteCharString ( string value, byte tag = 255 ) : void |
Writes a char string tag to the stream
|
|
WriteCloseTag ( byte tag ) : void |
Writes a close tag to the stream
|
|
WriteDate ( Date value, byte tag = 255 ) : void |
Writes a date value to the stream
|
|
WriteEnumerated ( uint value, byte tag = 255 ) : void |
Writes an enumerated value to the stream
|
|
WriteFloat32 ( float value, byte tag = 255 ) : void |
Writes a float32 tag to the stream
|
|
WriteFloat64 ( double value, byte tag = 255 ) : void |
Writes a float64 tag to the stream
|
|
WriteGeneric ( GenericValue value, byte tag = 255 ) : void |
Writes a generic value to the stream
|
|
WriteNull ( System.Null value, byte tag = 255 ) : void |
Writes a null tag to the stream
|
|
WriteObjectId ( ObjectId value, byte tag = 255 ) : void |
Writes an object id value to the stream
|
|
WriteOctetString ( byte value, byte tag = 255 ) : void |
Writes an octet string tag to the stream
|
|
WriteOpenTag ( byte tag ) : void |
Writes an open tag to the stream
|
|
WriteSigned16 ( short value, byte tag = 255 ) : void |
Writes a signed tag to the stream
|
|
WriteSigned32 ( int value, byte tag = 255 ) : void |
Writes a signed tag to the stream
|
|
WriteSigned64 ( long value, byte tag = 255 ) : void |
Writes a signed tag to the stream
|
|
WriteSigned8 ( sbyte value, byte tag = 255 ) : void |
Writes a signed tag to the stream
|
|
WriteTime ( |
Writes a time value to the stream
|
|
WriteUnsigned16 ( ushort value, byte tag = 255 ) : void |
Writes an unsigned tag to the stream
|
|
WriteUnsigned32 ( uint value, byte tag = 255 ) : void |
Writes an unsigned tag to the stream
|
|
WriteUnsigned64 ( ulong value, byte tag = 255 ) : void |
Writes an unsigned tag to the stream
|
|
WriteUnsigned8 ( byte value, byte tag = 255 ) : void |
Writes an unsigned tag to the stream
|
Méthode | Description | |
---|---|---|
_writeHeader ( byte tagNumber, ApplicationTag defaultTag, byte lvt ) : void |
Writes a tag header to the stream
|
|
_writeLengthHeader ( byte tagNumber, ApplicationTag defaultTag, int length ) : void |
Writes a tag header with a length LVT
|
|
_writeTypeHeader ( byte tagNumber, TagType type ) : void |
Writes a tag header with a type LVT
|
|
_writeValueHeader ( byte tagNumber, ApplicationTag defaultTag, bool value ) : void |
Writes a tag header with a value LVT
|
public TagWriter ( Stream stream ) : System | ||
stream | Stream | The stream to write tags to |
Résultat | System |
public WriteBitString24 ( |
||
value | The value to write | |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteBitString56 ( |
||
value | The value to write | |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteBitString8 ( |
||
value | The value to write | |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteBoolean ( bool value, byte tag = 255 ) : void | ||
value | bool | The boolean value |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteCharString ( string value, byte tag = 255 ) : void | ||
value | string | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteCloseTag ( byte tag ) : void | ||
tag | byte | The context tag number of the tag, or 255 for no tag |
Résultat | void |
public WriteDate ( Date value, byte tag = 255 ) : void | ||
value | Date | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteEnumerated ( uint value, byte tag = 255 ) : void | ||
value | uint | The value to write |
tag | byte | The tag number, or 255 fo an application tag |
Résultat | void |
public WriteFloat32 ( float value, byte tag = 255 ) : void | ||
value | float | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteFloat64 ( double value, byte tag = 255 ) : void | ||
value | double | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteGeneric ( GenericValue value, byte tag = 255 ) : void | ||
value | GenericValue | The value to write |
tag | byte | The wrapper tag number, or 255 for no wrapper tag |
Résultat | void |
public WriteNull ( System.Null value, byte tag = 255 ) : void | ||
value | System.Null | The null value |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteObjectId ( ObjectId value, byte tag = 255 ) : void | ||
value | ObjectId | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteOctetString ( byte value, byte tag = 255 ) : void | ||
value | byte | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteOpenTag ( byte tag ) : void | ||
tag | byte | The context tag number of the tag, or 255 for no tag |
Résultat | void |
public WriteSigned16 ( short value, byte tag = 255 ) : void | ||
value | short | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteSigned32 ( int value, byte tag = 255 ) : void | ||
value | int | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteSigned64 ( long value, byte tag = 255 ) : void | ||
value | long | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteSigned8 ( sbyte value, byte tag = 255 ) : void | ||
value | sbyte | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteTime ( |
||
value | The value to write | |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteUnsigned16 ( ushort value, byte tag = 255 ) : void | ||
value | ushort | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteUnsigned32 ( uint value, byte tag = 255 ) : void | ||
value | uint | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteUnsigned64 ( ulong value, byte tag = 255 ) : void | ||
value | ulong | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |
public WriteUnsigned8 ( byte value, byte tag = 255 ) : void | ||
value | byte | The value to write |
tag | byte | The tag number, or 255 for an application tag |
Résultat | void |