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

Method from_bytes

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

Wrap raw bytes.

(bytes: [u8; 32])

Source from the content-addressed store, hash-verified

596
597 /// Wrap raw bytes.
598 pub fn from_bytes(bytes: [u8; 32]) -> Self {
599 Self(bytes)
600 }
601
602 /// The raw bytes.
603 pub fn as_bytes(&self) -> &[u8; 32] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected