public interface UIntegerTypeConverter
| Modifier and Type | Method and Description |
|---|---|
Long |
getLongFromUInteger(byte[] ioArea,
int start,
Collection<String> warningStrings)
Retrieves the designated unsigned integer value from the input/output
byte array as a long.
|
void |
setUInteger(byte[] ioArea,
int start,
Integer object,
Collection<String> warningStrings)
Sets the designated signed integer value into the input/output byte array
as an unsigned integer.
|
void |
setUInteger(byte[] ioArea,
int start,
Long object,
Collection<String> warningStrings)
Sets the designated signed long value into the input/output byte array as
an unsigned integer.
|
Long getLongFromUInteger(byte[] ioArea, int start, Collection<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 longvoid setUInteger(byte[] ioArea,
int start,
Integer object,
Collection<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 integerwarningStrings - The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException - if the integer value could not be converted to bytes or if
there are data integrity issuesvoid setUInteger(byte[] ioArea,
int start,
Long object,
Collection<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 integer value could not be converted to bytes or if
there are data integrity issues(c) Copyright IBM Corporation 2008, 2017.