MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / to_base32

Method to_base32

atomic-identity/src/delegation.rs:608–610  ·  view source on GitHub ↗

Base32 (no padding) rendering — the form used in filenames and URNs.

(&self)

Source from the content-addressed store, hash-verified

606
607 /// Base32 (no padding) rendering — the form used in filenames and URNs.
608 pub fn to_base32(&self) -> String {
609 data_encoding::BASE32_NOPAD.encode(&self.0)
610 }
611
612 /// Parse a base32 rendering, with or without the `urn:atomic:delegation:`
613 /// prefix.

Callers 1

shortMethod · 0.45

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected