Class Telegram
Inheritance
System.Object
Telegram
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
Constructors
Telegram(Byte[], Char)
Declaration
public Telegram(byte[] message, char separator)
Parameters
Type |
Name |
Description |
System.Byte[] |
message |
|
System.Char |
separator |
|
Telegram(String, Char)
Declaration
public Telegram(string telegram, char separator)
Parameters
Type |
Name |
Description |
System.String |
telegram |
|
System.Char |
separator |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Fields
Declaration
public string[] Fields { get; }
Property Value
Type |
Description |
System.String[] |
|
Text
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Convert(Object)
Declaration
public static byte[] Convert(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Byte[] |
|
Convert(Object, ref Byte[])
Declaration
public static byte[] Convert(object obj, ref byte[] data)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
System.Byte[] |
data |
|
Returns
Type |
Description |
System.Byte[] |
|
Convert<T>(T, Boolean)
Declaration
public static byte[] Convert<T>(T obj, bool reverse)
where T : struct
Parameters
Type |
Name |
Description |
T |
obj |
|
System.Boolean |
reverse |
|
Returns
Type |
Description |
System.Byte[] |
|
Type Parameters
ConvertAndReverse(Object, ref Byte[])
Declaration
public static byte[] ConvertAndReverse(object obj, ref byte[] data)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
System.Byte[] |
data |
|
Returns
Type |
Description |
System.Byte[] |
|
ConvertAndReverseMarshal<T>(Byte[])
Declaration
public static T ConvertAndReverseMarshal<T>(byte[] arr)
where T : struct
Parameters
Type |
Name |
Description |
System.Byte[] |
arr |
|
Returns
Type Parameters
ConvertMarshal<T>(T)
Declaration
public static byte[] ConvertMarshal<T>(T str)
where T : struct
Parameters
Type |
Name |
Description |
T |
str |
|
Returns
Type |
Description |
System.Byte[] |
|
Type Parameters
ConvertMarshal<T>(Byte[])
Declaration
public static T ConvertMarshal<T>(byte[] arr)
where T : struct
Parameters
Type |
Name |
Description |
System.Byte[] |
arr |
|
Returns
Type Parameters
Print(Object)
Declaration
public static string Print(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.String |
|
Reverse(Type, Byte[])
Declaration
public static void Reverse(Type type, byte[] recvbyte)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Byte[] |
recvbyte |
|
Reverse(Type, Byte[], Int32)
Declaration
public static void Reverse(Type type, byte[] recvbyte, int offset)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Byte[] |
recvbyte |
|
System.Int32 |
offset |
|