encoder.js
function deltaEncTypeInt( fromType, toType ) {
	// Lookup conversion on the downscale table
	for (var i=0; i<NUMTYPE_DELTA_INT.FROM.length; ++i) {
		if ( (NUMTYPE_DELTA_INT.FROM[i] === fromType) && 
			 (NUMTYPE_DELTA_INT.TO[i] === toType) )
			return i;
	}
	// Nothing found
	return undefined;
}
function deltaEncTypeInt( fromType, toType ) {
	// Lookup conversion on the downscale table
	for (var i=0; i<NUMTYPE_DELTA_INT.FROM.length; ++i) {
		if ( (NUMTYPE_DELTA_INT.FROM[i] === fromType) && 
			 (NUMTYPE_DELTA_INT.TO[i] === toType) )
			return i;
	}
	// Nothing found
	return undefined;
}
function deltaEncTypeInt ( fromType , toType ) { // Lookup conversion on the downscale table for ( var i = 0 ; i < NUMTYPE_DELTA_INT . FROM . length ; ++ i ) { if ( ( NUMTYPE_DELTA_INT . FROM [ i ] === fromType ) && ( NUMTYPE_DELTA_INT . TO [ i ] === toType ) ) return i ; } // Nothing found return undefined ; }
Pick a matching delta encoding delta for integers
Pick a matching delta encoding delta for integers