IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.1.0
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

b16encode

def b16encode(str: StringSpan) -> String

Performs base16 encoding on the input string slice.

Args:

  • ​str (StringSpan): The input string slice.

Returns:

String: Base16 encoding of the input string.