|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IntAccessor
An interface which describes a Field
which has int accessors.
Method Summary | |
---|---|
int |
getInt(byte[] buffer)
Answer an int from the given byte array buffer, at the offset of this field. |
int |
getInt(byte[] buffer,
int bufOffset)
Answer an int from the given byte array buffer, at the bufOffset + offset of this field. |
boolean |
isSigned()
Answer whether the field is signed |
void |
putInt(int value,
byte[] buffer)
Put an int into thegiven byte array buffer, at the offset of this field. |
void |
putInt(int value,
byte[] buffer,
int bufOffset)
Put an int into thegiven byte array buffer, at the bufOffset + offset of this field. |
Methods inherited from interface com.ibm.jzos.fields.Field |
---|
getByteLength, getOffset, setOffset |
Method Detail |
---|
int getInt(byte[] buffer)
buffer
- the byte array
int getInt(byte[] buffer, int bufOffset)
buffer
- the byte arraybufOffset
- the additional offset into the byte array
void putInt(int value, byte[] buffer) throws java.lang.IllegalArgumentException
value
- the int valuebuffer
- the byte array
java.lang.IllegalArgumentException
- if the value is out of rangevoid putInt(int value, byte[] buffer, int bufOffset) throws java.lang.IllegalArgumentException
value
- the int valuebuffer
- the byte arraybufOffset
- the additional offset into the byte array
java.lang.IllegalArgumentException
- if the value is out of rangeboolean isSigned()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |