Inheritance
System.Object
UnconnectedUdpMessageHeader
Assembly: Eco.Shared.dll
public sealed class UnconnectedUdpMessageHeader : ValueType
Constructors
Declaration
public UnconnectedUdpMessageHeader(int lengthInBits)
Parameters
Type |
Name |
Description |
System.Int32 |
lengthInBits |
|
Fields
Declaration
public readonly uint Dword
Field Value
Type |
Description |
System.UInt32 |
|
Declaration
public const int HeaderSize = 5
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public readonly byte LengthInBitsHigh
Field Value
Type |
Description |
System.Byte |
|
Declaration
public readonly byte LengthInBitsLow
Field Value
Type |
Description |
System.Byte |
|
Declaration
public readonly byte MessageType
Field Value
Type |
Description |
System.Byte |
|
Declaration
public readonly byte SegmentCount
Field Value
Type |
Description |
System.Byte |
|
Declaration
public readonly byte SegmentIndex
Field Value
Type |
Description |
System.Byte |
|
Properties
Declaration
public int LengthInBits { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public static bool HasUnconnectedMessageDataHeader(byte[] buffer, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool HasUnconnectedMessageDataHeader(IntPtr data, int length)
Parameters
Type |
Name |
Description |
System.IntPtr |
data |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public void WriteTo(byte[] buffer, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Extension Methods