Class Function
Represents a function for a function code.
public class Function
- Inheritance
-
Function
- Inherited Members
Methods
Execute(IEnumerable<byte>)
Executes the function.
The function code will be added to the input data
and later removed from the return value.
public byte[] Execute(IEnumerable<byte> data)
Parameters
data
IEnumerable<byte>Data for the function, without the function code.
Returns
- byte[]
The answer data of the function without the byte reserved for the function code.
Exceptions
- ArgumentNullException
Thrown when
data
isnull
.- ArgumentOutOfRangeException
Thrown when
data
is greater 7 bytes.- TimeoutException
Thrown when no data received within the given timeout interval.