protected String createPair(String name,int value,int maxLength){
  if (value == 0)   return "";
 else   return createPair(name,String.valueOf(value),maxLength);
}

protected String createPair ( String name , int value , int maxLength ) { if ( value == 0 ) return "" ; else return createPair ( name , String . valueOf ( value ) , maxLength ) ; }
check for delimiter fields & = and add length of not encoded
