mrdocs::toBase58Str

Convert a SymbolID to its canonical string form.

Synopsis

std::string
toBase58Str(SymbolID const& id);

Description

This is the representation used for symbol identifiers in the generated output (e.g. the XML id/`parent` attributes and the DOM id field). It uses base58, which is compact yet easy to copy, paste, and match with a regular expression.

Return Value

The base58 string representation of the SymbolID.

Parameters

Name

Description

id

The SymbolID to convert.

Created with MrDocs