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

Method put_i64

atomic-core/src/operation/codec.rs:321–323  ·  view source on GitHub ↗
(&mut self, value: i64)

Source from the content-addressed store, hash-verified

319 }
320
321 fn put_i64(&mut self, value: i64) -> Result<(), OperationCodecError> {
322 self.put_bytes(&value.to_le_bytes())
323 }
324
325 fn put_count(&mut self, count: usize, field: &str) -> Result<(), OperationCodecError> {
326 if count > MAX_OPERATION_COLLECTION_ITEMS {

Callers 2

encode_operation_payloadFunction · 0.80

Calls 2

put_bytesMethod · 0.80
to_le_bytesMethod · 0.80

Tested by

no test coverage detected