public class IFB_AMOUNT extends ISOFieldPackager
ISOComponent
pad, trim
Constructor and Description |
---|
IFB_AMOUNT() |
IFB_AMOUNT(int len,
java.lang.String description,
boolean pad) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxPackedLength() |
byte[] |
pack(ISOComponent c) |
void |
setPad(boolean pad) |
int |
unpack(ISOComponent c,
byte[] b,
int offset) |
createComponent, getDescription, getLength, pack, readBytes, setDescription, setLength, setTrim, unpack
public IFB_AMOUNT()
public IFB_AMOUNT(int len, java.lang.String description, boolean pad)
len
- - field lendescription
- symbolic descrptionpublic void setPad(boolean pad)
setPad
in class ISOFieldPackager
public byte[] pack(ISOComponent c) throws ISOException
pack
in class ISOFieldPackager
c
- - a componentISOException
public int unpack(ISOComponent c, byte[] b, int offset) throws ISOException
unpack
in class ISOFieldPackager
c
- - the Component to unpackb
- - binary imageoffset
- - starting offset within the binary imageISOException
public int getMaxPackedLength()
getMaxPackedLength
in class ISOFieldPackager