code: function(input) {
  
  			if (!isFullId && baseCharSet.set == DEFAULT_BASESET)
  			{
  				input = Utils.getObjectIdTime(input);
  			}
  
  			var bitStream = BitStream(String(input), baseCharSet);
  
  			var result = '';
  			while (!bitStream.isEOF())
  			{
  				var value = bitStream.getBits(encodingCharSet.bits);
  				var nextChar = encodingCharSet.encode(value);
  				if (isInverse)
  				{
  					result = nextChar + result;
  				}
  				else
  				{
  					result += nextChar;
  				}
  			}
  
  			return result;
  		}
docs: setFullId: setFullId, setBase: setBase, setEncoding: setEncoding, inverse: inverse,