Method SetData
SetData(Byte[], Int32, Int32)
Sets this payloads data. A reference to the passed-in array is held, i. e. no copy is made.
Declaration
public virtual void SetData(byte[] value, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | value | |
System.Int32 | offset | |
System.Int32 | length |
SetData(Byte[])
Gets or sets a reference to the underlying byte array that holds this payloads data. Data is not copied.
Declaration
public virtual void SetData(byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | value |