Skip to content

decode

Category: String

Decodes the input string using the specified format

  • Return type: string
  • Parameters:
    • format string — Decoding format (‘base64’, ‘hex’, ‘url’)
'SGVsbG8='.decode('base64')
'48656c6c6f'.decode('hex')