Module darkfi::util::encoding::base64

source ยท
Expand description

Base64 encoding and decoding

Macrosยง

Constantsยง

  • FF ๐Ÿ”’

Staticsยง

  • D0 ๐Ÿ”’
  • D1 ๐Ÿ”’
  • D2 ๐Ÿ”’
  • D3 ๐Ÿ”’
  • E0 ๐Ÿ”’
  • E1 ๐Ÿ”’
  • E2 ๐Ÿ”’

Functionsยง

  • Tries to decode a base64 string into a byte vector. Returns None if something fails.
  • Encode a byte slice into a base64 string