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

Method encode

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

Encode to a compressed wire body. See [`encode`].

(&self)

Source from the content-addressed store, hash-verified

194
195 /// Encode to a compressed wire body. See [`encode`].
196 pub fn encode(&self) -> Result<Vec<u8>, SyncError> {
197 encode(self)
198 }
199
200 /// Decode from a compressed wire body, bounded by [`DEFAULT_MAX_DECOMPRESSED`].
201 pub fn decode(bytes: &[u8]) -> Result<Self, SyncError> {

Callers 15

encodedFunction · 0.45
output_payloadFunction · 0.45
startMethod · 0.45
measure_turnFunction · 0.45
validateFunction · 0.45
verifyFunction · 0.45
record_turnFunction · 0.45
shellMethod · 0.45
to_base32Method · 0.45
to_base32Method · 0.45

Calls 1

encodeFunction · 0.70