class_docstr: Series.str namespace.
class_docstr_tok: ["Series.str","namespace","."]
docstr: Decode a value using the provided encoding.
  
  Parameters
  ----------
  encoding : {'hex', 'base64'}
      The encoding to use.
  strict
      Raise an error if the underlying value cannot be decoded,
      otherwise mask out with a null value.
docstr_tok: ["Decode","a","value","using","the","provided","encoding",".","Parameters","--","--","--","--","--","encoding",":","{","'hex","'",",","'base64","'","}","The","encoding","to","use",".","strict","Raise","an","error","if","the","underlying","value","can","not","be","decoded",",","otherwise","mask","out","with","a","null","value","."]
code: def decode(
      self, encoding: TransferEncoding, *, strict: bool = True
  ) -> Series:
      """
      Decode a value using the provided encoding.
  
      Parameters
      ----------
      encoding : {'hex', 'base64'}
          The encoding to use.
      strict
          Raise an error if the underlying value cannot be decoded,
          otherwise mask out with a null value.
  
      """
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from polars.series.utils import expr_dispatch
  from polars.utils.deprecation import deprecate_renamed_function, deprecate_renamed_parameter
label_desc: Use image node_id 13 for calling the StringNameSpace obj's underlying member method code with example usage: obj.decode(encoding) without return types