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

Method as_bytes

atomic-identity/src/identity.rs:61–63  ·  view source on GitHub ↗

Get the raw bytes of the identity ID.

(&self)

Source from the content-addressed store, hash-verified

59
60 /// Get the raw bytes of the identity ID.
61 pub fn as_bytes(&self) -> &[u8; 32] {
62 &self.0
63 }
64
65 /// Encode the identity ID as base32.
66 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