public class IFMC_TCC extends IF_CHAR
pad, trim
Constructor and Description |
---|
IFMC_TCC() |
Modifier and Type | Method and Description |
---|---|
byte[] |
pack(ISOComponent c)
Convert the component into a byte[].
|
int |
unpack(ISOComponent c,
byte[] b,
int offset)
Unpacks the byte array into the component.
|
checkLength, getMaxPackedLength, setInterpreter, setPadder, setPrefixer, setTrim, unpack
createComponent, getDescription, getLength, pack, readBytes, setDescription, setLength, setPad
public byte[] pack(ISOComponent c) throws ISOException
ISOStringFieldPackager
pack
in class ISOStringFieldPackager
c
- - a componentISOException
public int unpack(ISOComponent c, byte[] b, int offset) throws ISOException
ISOStringFieldPackager
unpack
in class ISOStringFieldPackager
c
- The component to unpack into.b
- The byte array to unpack.offset
- The index in the byte array to start unpacking from.ISOException