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

Method decode

atomic-objects/src/sync.rs:201–203  ·  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

199
200 /// Decode from a compressed wire body, bounded by [`DEFAULT_MAX_DECOMPRESSED`].
201 pub fn decode(bytes: &[u8]) -> Result<Self, SyncError> {
202 decode(bytes)
203 }
204}
205
206/// The pull/clone request: which view refs the client wants and which object

Callers 15

runMethod · 0.45
hookMethod · 0.45
closeMethod · 0.45
measure_turnFunction · 0.45
workerFunction · 0.45
verifyFunction · 0.45
measureFunction · 0.45
prepareFunction · 0.45
measureFunction · 0.45
admitted_jsonFunction · 0.45
decodeFunction · 0.45
mainFunction · 0.45

Calls 1

decodeFunction · 0.70

Tested by 3

mainFunction · 0.36
mainFunction · 0.36
authenticatesFunction · 0.36