public interface UShortTypeConverter
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getIntegerFromUShort(byte[] ioArea,
int start,
java.util.Collection<java.lang.String> warningStrings)
Retrieves the designated unsigned short value from the input/output byte
array as a integer.
|
void |
setUShort(byte[] ioArea,
int start,
java.lang.Integer object,
java.util.Collection<java.lang.String> warningStrings)
Sets the designated signed integer value into the input/output byte array
as an unsigned short
|
void |
setUShort(byte[] ioArea,
int start,
java.lang.Short object,
java.util.Collection<java.lang.String> warningStrings)
Sets the designated signed short value into the input/output byte array
as an unsigned short
|
java.lang.Integer getIntegerFromUShort(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 integervoid setUShort(byte[] ioArea, int start, java.lang.Short 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 shortwarningStrings
- The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException
- if the short value could not be converted to bytes or if
there are data integrity issuesvoid setUShort(byte[] ioArea, int start, java.lang.Integer 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 shortwarningStrings
- The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException
- if the short value could not be converted to bytes or if
there are data integrity issues