# gdtest_sphinx_func_role > Test :py:func: Sphinx role rendering ## Docs ### API Reference - [decode](reference/decode.html): Decode bytes back to a string - [encode](reference/encode.html): Encode a string to bytes - [validate](reference/validate.html): Validate that a string can be encoded