The IfxToJavaSmallInt() method

The IfxToJavaSmallInt() method converts the HCL Informix® SMALLINT data type to the Java™ short data type.

Method signature

public static short IfxToJavaSmallInt (byte b [], short prec)
public static short IfxToJavaSmallInt (byte b [])
public static short IfxToJavaSmallInt (byte b [], int offset,
       int length, short prec)
public static short IfxToJavaSmallInt (byte b [], int offset)

Input parameters

b
The bytes encoding data
offset
The offset into byte array.
prec
The precision as received from Informix.
length
The data length.