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

Method from_bytes

atomic-repository/src/git_binding/codec.rs:416–418  ·  view source on GitHub ↗

Construct from canonical bytes.

(bytes: [u8; 32])

Source from the content-addressed store, hash-verified

414impl BindingId {
415 /// Construct from canonical bytes.
416 pub const fn from_bytes(bytes: [u8; 32]) -> Self {
417 Self(bytes)
418 }
419
420 /// Raw bytes.
421 pub const fn as_bytes(&self) -> &[u8; 32] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected