code: def _SafeDecodeBytes(unused_field, value):
      
      try:
          result = base64.urlsafe_b64decode(str(value))
          complete = True
      except TypeError:
          result = value
          complete = False
      return CodecResult(value=result, complete=complete)
docs: Decode the urlsafe base64 value into bytes.