MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / finish

Method finish

crates/sats/src/buffer.rs:341–343  ·  view source on GitHub ↗

Consumes the counter and returns the final count.

(self)

Source from the content-addressed store, hash-verified

339
340 /// Consumes the counter and returns the final count.
341 pub fn finish(self) -> usize {
342 self.num_bytes
343 }
344}
345
346impl BufWriter for CountWriter {

Callers 10

runMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
to_lenFunction · 0.45
fmtMethod · 0.45
hash_one_bsatn_avFunction · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
tableFunction · 0.45

Calls

no outgoing calls

Tested by 1

tableFunction · 0.36