The Payload type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ByteAt | Returns the byte at the given index. | |
| Clone | Clones this payload by creating a copy of the underlying
byte array.
| |
| CopyTo | Copies the payload data to a byte array.
| |
| Equals | (Overrides Object..::..Equals(Object).) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetData | Returns a reference to the underlying byte array
that holds this payloads data.
| |
| GetHashCode | (Overrides Object..::..GetHashCode()()()().) | |
| GetOffset | Returns the offset in the underlying byte array | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Length | Returns the length of the payload data. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetData(array<Byte>[]()[][]) | Sets this payloads data.
A reference to the passed-in array is held, i. e. no
copy is made.
| |
| SetData(array<Byte>[]()[][], Int32, Int32) | Sets this payloads data.
A reference to the passed-in array is held, i. e. no
copy is made.
| |
| ToByteArray | Allocates a new byte array, copies the payload data into it and returns it. | |
| ToString | (Inherited from Object.) |