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