Method | Description | |
---|---|---|
AddNumberForTreeNode ( |
Add a number attribute for treenode
|
|
AddserialNumForFSSHTTPBTreeNode ( |
Add a serial number only for treenodes which are FSSHTTPB structures
|
|
ArrayObjectToNode ( object obj, object parentobj, |
Convert object array to TreeNode
|
|
ArrayObjectToNode ( object obj, string name ) : |
Convert object array to TreeNode
|
|
ContainsStreamObjectHeader ( ushort headerType ) : bool |
specify whether stream contains Stream Object Header
|
|
ContainsStreamObjectStart32BitHeader ( ushort headerType ) : bool |
specify whether stream contains Stream Object Start 32Bit Header
|
|
GetBigEnidan ( int byteNumber ) : long |
read bytes from stream to long in big enidan.
|
|
GetBits ( byte b, int index, int length ) : byte |
Read bits value from byte
|
|
GetBits ( int b, int index, int length ) : uint |
Read bits value from byte
|
|
GetBits ( long b, int index, int length ) : ulong |
Read bits value from byte
|
|
GetBits ( short b, int index, int length ) : ushort |
Read bits value from byte
|
|
GetExtendedGUIDBytesLen ( int byteOffset ) : int |
Get the length of the ExtenedGUID
|
|
GetSerialNumberBytesLen ( int byteOffset ) : int |
Get the length of the SerialNumber
|
|
ObjectToTreeNode ( object obj, int &startIndex, int &offset ) : |
Add the object to TreeNode and calculate the byte number it consumed
|
|
ObjectToTreeNode ( object obj, string ropNameforBinaryStrucutre ) : |
Convert object to TreeNode
|
|
Parse ( Stream s ) : void |
Parse stream to specific message
|
|
PreReadDataElementPackageType ( ) : long |
Get DataElementPackage Type
|
|
ReadCompactUnsigned64bitIntegerValue ( int byteOffset ) : long |
Read CompactUnsigned64bitInteger from stream
|
|
ReadINT64 ( ) : long |
Read an long value from stream
|
|
RemoveAnySpecifiedTreeNode ( |
Remove subNode which node text contains "specified"
|
|
RemoveDefaultValueTreeNode ( |
Remove subNode which contains defaut value(for optinal element)
|
|
SimpleTypeObjectToNode ( object obj, object parentobj, |
Convert simple type object to TreeNode
|
|
SimpleTypeObjectToNode ( object obj, string name ) : |
Convert simple type object to TreeNode
|
|
ToString ( ) : string |
Override the ToString method to return empty.
|
Method | Description | |
---|---|---|
CurrentByte ( ) : byte |
Get the current byte of stream
|
|
Read3Bytes ( ) : int |
Read an three bytes value as uint from stream
|
|
Read5Bytes ( ) : long |
Read an five bytes value as ulong from stream
|
|
Read6Bytes ( ) : long |
Read an six bytes value as ulong from stream
|
|
Read7Bytes ( ) : long |
Read an seven bytes value as ulong from stream
|
|
ReadBoolean ( ) : System.Boolean |
Read an Boolean value from stream
|
|
ReadByte ( ) : byte |
Read a byte value from stream
|
|
ReadBytes ( int length ) : byte[] |
Read bytes from stream
|
|
ReadChar ( |
Read character from stream
|
|
ReadGuid ( ) : System.Guid |
Read a GUID value from stream
|
|
ReadINT16 ( ) : |
Read an Int16 value from stream
|
|
ReadINT32 ( ) : |
Read an Int32 value from stream
|
|
ReadString ( |
Read string value from stream according to string terminator and Encoding method
|
|
ReadUint ( ) : uint |
Read an uint value from stream
|
|
ReadUlong ( ) : ulong |
Read an uLong value from stream
|
|
ReadUshort ( ) : ushort |
Read an ushort value from stream
|
Method | Description | |
---|---|---|
ConvertFromBytes ( byte buffer, int bytesToConvert ) : ulong |
Returns a value built from the specified number of bytes from the given buffer
|
public static AddNumberForTreeNode ( |
||
treenode | treenode which used to add number | |
index | int | the number |
return |
public static AddserialNumForFSSHTTPBTreeNode ( |
||
treenode | treenode which used to add serial number | |
index | int | the serial number |
return |
public static ArrayObjectToNode ( object obj, object parentobj, |
||
obj | object | The object which need to convert |
parentobj | object | The parent object of the object which need to convert |
Info | The field Info of the object in parent object | |
startIndex | int | The start index of this object in message stream |
offset | int | The offset of this object |
return |
public static ArrayObjectToNode ( object obj, string name ) : |
||
obj | object | The object which need to convert |
name | string | The name of the node |
return |
public ContainsStreamObjectHeader ( ushort headerType ) : bool | ||
headerType | ushort | a ushort indicate the type of the stream object header |
return | bool |
public ContainsStreamObjectStart32BitHeader ( ushort headerType ) : bool | ||
headerType | ushort | a ushort indicate the type of the 32 bit stream object header |
return | bool |
public GetBigEnidan ( int byteNumber ) : long | ||
byteNumber | int | byte number need to read |
return | long |
public GetBits ( byte b, int index, int length ) : byte | ||
b | byte | The byte. |
index | int | The bit index to read |
length | int | The bit length to read |
return | byte |
public GetBits ( int b, int index, int length ) : uint | ||
b | int | The int value used to get bit. |
index | int | The bit index to read |
length | int | The bit length to read |
return | uint |
public GetBits ( long b, int index, int length ) : ulong | ||
b | long | The long value used to get bit. |
index | int | The bit index to read |
length | int | The bit length to read |
return | ulong |
public GetBits ( short b, int index, int length ) : ushort | ||
b | short | The short value used to get bit. |
index | int | The bit index to read |
length | int | The bit length to read |
return | ushort |
public GetExtendedGUIDBytesLen ( int byteOffset ) : int | ||
byteOffset | int | the offset from the current position of the stream |
return | int |
public GetSerialNumberBytesLen ( int byteOffset ) : int | ||
byteOffset | int | the offset from the current position of the stream |
return | int |
public static ObjectToTreeNode ( object obj, int &startIndex, int &offset ) : |
||
obj | object | The object need to display in TreeView |
startIndex | int | The start position of the object in HexView |
offset | int | The byte number consumed by the object |
return |
public static ObjectToTreeNode ( object obj, string ropNameforBinaryStrucutre ) : |
||
obj | object | The object need to convet |
ropNameforBinaryStrucutre | string | The object need to convet |
return |
public PreReadDataElementPackageType ( ) : long | ||
return | long |
protected ReadBytes ( int length ) : byte[] | ||
length | int | The byte length to read |
return | byte[] |
protected ReadChar ( |
||
encoding | The text encoding | |
return | char |
public ReadCompactUnsigned64bitIntegerValue ( int byteOffset ) : long | ||
byteOffset | int | the offset from the current position of the stream |
return | long |
protected ReadString ( |
||
encoding | The character Encoding | |
terminator | string | The string terminator |
stringlength | int | |
reducedUnicode | bool | True means reduced Unicode character string. The terminating null character is one zero byte. |
return | string |
public static RemoveAnySpecifiedTreeNode ( |
||
treenode | The tree node used to remove sub node | |
return |
public static RemoveDefaultValueTreeNode ( |
||
node | The tree node used to remove sub node | |
specifiedText | string | the specified text |
return | void |
public static SimpleTypeObjectToNode ( object obj, object parentobj, |
||
obj | object | The object which need to convert |
parentobj | object | The parent object of the object which need to convert |
Info | The field Info of the object in parent object | |
startIndex | int | The start index of this object in message stream |
offset | int | The offset of this object |
return |
public static SimpleTypeObjectToNode ( object obj, string name ) : |
||
obj | object | The object which need to convert |
name | string | The name of the child node |
return |