Crdt.KCounter.encode: def of bend-kit-crdt@0.2.0.0 Import: import bend-kit-crdt@0.2.0.0/crdt.bend as Crdt Lines 397-399 of bend-kit-crdt@0.2.0.0/crdt.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-crdt@0.2.0.0/crdt.bend&start_line=397&end_line=399 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes import bend-kit-cbor@0.3.0.0/cbor.bend as Cbor # None only when enc gives a value with no CBOR form. def KCounter.encode(~K: Data, ~enc: K -> Cbor.Val, s: KCounter) -> Maybe<&1, Bytes.Bytes>: Cbor.encode(KCounter.to_cbor(~K, ~enc, s)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-cbor@0.3.0.0/cbor.bend&name=Val https://jend.leeeet.dev/definition.txt?path=bend-kit-cbor@0.3.0.0/cbor.bend&name=encode https://jend.leeeet.dev/definition.txt?path=bend-kit-crdt@0.2.0.0/crdt.bend&name=KCounter https://jend.leeeet.dev/definition.txt?path=bend-kit-crdt@0.2.0.0/crdt.bend&name=KCounter.to_cbor