public final class Command
extends java.lang.Object
Constructor and Description |
---|
Command(byte cla,
byte ins,
byte p1,
byte p2,
byte[] length,
byte[] data,
byte[] maxResponseLength) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
static Command |
getData(byte... data) |
static Command |
getProcessingOptions(byte... data) |
static Command |
read(byte p1,
byte p2,
byte... data) |
static Command |
read(byte p1,
byte p2,
byte[] data,
byte... responseLength) |
static Command |
select(byte... data) |
java.lang.String |
toString() |
public Command(byte cla, byte ins, byte p1, byte p2, byte[] length, byte[] data, byte[] maxResponseLength)
public static Command select(byte... data)
public static Command read(byte p1, byte p2, byte... data)
public static Command read(byte p1, byte p2, byte[] data, byte... responseLength)
public static Command getProcessingOptions(byte... data)
public static Command getData(byte... data)
public java.lang.String toString()
toString
in class java.lang.Object
public byte[] getBytes()