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

Method decode

atomic-objects/src/sync.rs:195–197  ·  view source on GitHub ↗

Decode from a compressed wire body, bounded by [`DEFAULT_MAX_DECOMPRESSED`].

(bytes: &[u8])

Source from the content-addressed store, hash-verified

193
194 /// Decode from a compressed wire body, bounded by [`DEFAULT_MAX_DECOMPRESSED`].
195 pub fn decode(bytes: &[u8]) -> Result<Self, SyncError> {
196 decode(bytes)
197 }
198}
199
200/// The pull/clone request: which view refs the client wants and which object

Callers 6

runMethod · 0.45
from_base32Method · 0.45
from_base32Method · 0.45
load_secret_keyMethod · 0.45
from_base32Method · 0.45

Calls 1

decodeFunction · 0.85

Tested by 1