public class InputOutputParameter extends Parameter
TYPE_INPUT, TYPE_INPUT_OUTPUT, TYPE_NULL, TYPE_OUTPUT
Constructor and Description |
---|
InputOutputParameter(byte[] inputData,
int outputLength)
Constructs a parameter with the provided input data and output length.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getInputData()
Returns the input data.
|
int |
getInputLength()
Returns the input length.
|
int |
getMaxLength()
Returns the maximum of the output length and input length of this parameter.
|
byte[] |
getOutputData()
Returns the output data.
|
int |
getOutputLength()
Returns the output length.
|
protected void |
setOutputData(byte[] data) |
public InputOutputParameter(byte[] inputData, int outputLength)
public byte[] getInputData()
getInputData
in class Parameter
public int getInputLength()
getInputLength
in class Parameter
public int getOutputLength()
getOutputLength
in class Parameter
public int getMaxLength()
getMaxLength
in class Parameter
protected void setOutputData(byte[] data)
setOutputData
in class Parameter
public byte[] getOutputData()
getOutputData
in class Parameter