def _DecodeLongAsString(long_to_convert):
  if isinstance(long_to_convert, basestring):
    # Already converted.
    return long_to_convert
  return hex(long_to_convert)[2:-1].decode('hex')
Decodes an encoded python long into an ASCII string.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/translation_helper.py/_DecodeLongAsString