Class DefaultRequestData
Class that represents the default request data model.
Inheritance
System.Object
DefaultRequestData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Communications
Assembly: Fibula.Communications.dll
Syntax
public sealed class DefaultRequestData : IBytesInfo, IIncomingPacket
Constructors
| Improve this Doc View SourceDefaultRequestData(Byte[])
Initializes a new instance of the DefaultRequestData class.
Declaration
public DefaultRequestData(params byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes | The bytes that represent the packet. |
DefaultRequestData(ReadOnlySpan<Byte>)
Initializes a new instance of the DefaultRequestData class.
Declaration
public DefaultRequestData(ReadOnlySpan<byte> bytes)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Byte> | bytes | The bytes that represent the packet. |
Properties
| Improve this Doc View SourceBytes
Gets the collection of bytes that represent the packet.
Declaration
public byte[] Bytes { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |