MCPcopy Create free account
hub / github.com/dcSpark/cddl-codegen / generate_array_struct_serialization

Function generate_array_struct_serialization

src/generation.rs:5432–5522  ·  view source on GitHub ↗

generates serialization code for an array-encoded record into ser_func EXCEPT FOR array length

(
    gen_scope: &mut GenerationScope,
    types: &IntermediateTypes,
    record: &RustRecord,
    vars_in_self: bool,
    ser_func: &mut dyn CodeBlock,
    cli: &Cli,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

codegen_structFunction · 0.85
generate_enumFunction · 0.85

Calls 7

is_fixed_valueMethod · 0.80
expr_is_refMethod · 0.80
custom_serializeMethod · 0.80
encoding_var_is_refMethod · 0.80
generate_serializeMethod · 0.80
push_blockMethod · 0.80

Tested by

no test coverage detected