byte[] buffer = isc_dsql_sql_info(stmt, stmtInfo.length, stmtInfo, INFO_SIZE);
byte[] buffer = isc_dsql_sql_info(stmt,  stmtInfo, INFO_SIZE);
    public void getSqlCounts(isc_stmt_handle stmt_handle) throws GDSException {        isc_stmt_handle_impl stmt = (isc_stmt_handle_impl) stmt_handle;        byte[] buffer = isc_dsql_sql_info(stmt, stmtInfo.length, stmtInfo, INFO_SIZE);        int pos = 0;        int length;        int type;        while ((type = buffer[pos++]) != GDS.isc_info_end) {            length = isc_vax_integer(buffer, pos, 2);            pos += 2;            switch (type) {            case GDS.isc_info_sql_records:                int l;                int t;                while ((t = buffer[pos++]) != GDS.isc_info_end) {                    l = isc_vax_integer(buffer, pos, 2);                    pos += 2;                    switch (t) {                    case GDS.isc_info_req_insert_count:                        stmt.insertCount = isc_vax_integer(buffer, pos, l);                        break;                    case GDS.isc_info_req_update_count:                        stmt.updateCount = isc_vax_integer(buffer, pos, l);                        break;                    case GDS.isc_info_req_delete_count:                        stmt.deleteCount = isc_vax_integer(buffer, pos, l);                        break;                    case GDS.isc_info_req_select_count:                        stmt.selectCount = isc_vax_integer(buffer, pos, l);                        break;                    default:                        break;                    }                    pos += l;                }                break;            case GDS.isc_info_sql_stmt_type:                stmt.statementType = isc_vax_integer(buffer, pos, length);                pos += length;                break;            default:                pos += length;                break;            }        }    }