public interface ULongTypeConverter
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
getBigIntegerFromULong(byte[] ioArea,
int start,
java.util.Collection<java.lang.String> warningStrings)
Retrieves the designated unsigned long value from the input/output byte
array as a BigInteger.
|
void |
setULong(byte[] ioArea,
int start,
java.math.BigInteger object,
java.util.Collection<java.lang.String> warningStrings)
Sets the designated BigInteger value into the input/output byte array as
an unsigned long.
|
void |
setULong(byte[] ioArea,
int start,
java.lang.Long object,
java.util.Collection<java.lang.String> warningStrings)
Sets the designated signed long value into the input/output byte array as
an unsigned long.
|
java.math.BigInteger getBigIntegerFromULong(byte[] ioArea, int start, java.util.Collection<java.lang.String> warningStrings) throws com.ibm.ims.dli.types.ConversionException
ioArea
- The input/output byte array to be read fromstart
- The starting offset in the input/output byte array to read
fromwarningStrings
- The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException
- if the bytes could not be converted to a BigIntegervoid setULong(byte[] ioArea, int start, java.lang.Long object, java.util.Collection<java.lang.String> warningStrings) throws com.ibm.ims.dli.types.ConversionException
ioArea
- The input/output byte array to be written tostart
- The starting offset in the input/output byte array to write toobject
- The value of the longwarningStrings
- The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException
- if the long value could not be converted to bytes or if
there are data integrity issuesvoid setULong(byte[] ioArea, int start, java.math.BigInteger object, java.util.Collection<java.lang.String> warningStrings) throws com.ibm.ims.dli.types.ConversionException
ioArea
- The input/output byte array to be written tostart
- The starting offset in the input/output byte array to write toobject
- The value of the BigIntegerwarningStrings
- The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException
- if the long value could not be converted to bytes or if
there are data integrity issues