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

Method as_bytes

atomic-identity/src/identity.rs:67–69  ·  view source on GitHub ↗

Get the raw bytes of the identity ID.

(&self)

Source from the content-addressed store, hash-verified

65
66 /// Get the raw bytes of the identity ID.
67 pub fn as_bytes(&self) -> &[u8; 32] {
68 &self.0
69 }
70
71 /// Encode the identity ID as base32.
72 pub fn to_base32(&self) -> String {

Callers 2

from_public_keyMethod · 0.45
from_base32Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected