Method FromBytePointer
FromBytePointer(byte*, int)
Converts a byte pointer to a RelayHMACKey.
Declaration
public static RelayHMACKey FromBytePointer(byte* data, int length)
Parameters
Type | Name | Description |
---|---|---|
byte* | data | The pointer to the data of the Allocation Id. |
int | length | The length of the data. |
Returns
Type | Description |
---|---|
RelayHMACKey | Returns a RelayHMACKey constructed from the provided data. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Provided byte array length is invalid, must be {k_Length} but got {length}. |