Module encode

Module encode 

Source
Expand description

TypeScript encoding expression generation.

Generates TypeScript code that encodes Rust types into byte arrays.

Functionsยง

generate_encode_expr
Generate a TypeScript expression that encodes a value of the given type. expr is the JavaScript expression to encode.
generate_encode_fn_inline
Generate an inline encode function for a type.