function specify(encoding, spec, index) {
  let s = 0;
  if (spec.encoding.toLowerCase() === encoding.toLowerCase()) {
    s |= 1;
  } else if (spec.encoding !== "*") {
    return null;
  }
  return {
    i: index,
    o: spec.i,
    q: spec.q,
    s: s,
  };
}
/**
 * Get the specificity of the encoding.
 */
Get the specificity of the encoding.
Get the specificity of the encoding .
function specify(encoding, spec, index) {
  let s = 0;
  if (spec.encoding.toLowerCase() === encoding.toLowerCase()) {
    s |= 1;
  } else if (spec.encoding !== "*") {
    return null;
  }
  return {
    i: index,
    o: spec.i,
    q: spec.q,
    s: s,
  };
}
function specify ( encoding , spec , index ) { let s = 0 ; if ( spec . encoding . toLowerCase ( ) === encoding . toLowerCase ( ) ) { s |= 1 ; } else if ( spec . encoding !== "*" ) { return null ; } return { i : index , o : spec . i , q : spec . q , s : s , } ; }
Get the specificity of the encoding.
Get the specificity of the encoding .