Expand description
Swift wire type code generation.
Generates a complete Swift source file containing all wire protocol types
(MessageV7, MessagePayloadV7, etc.) with encode/decode methods. The generated
code is driven by facet Shapes from roam_types::message.
The only special-cased type is Payload (ShapeKind::Opaque), which maps to
OpaquePayloadV7 with both length-prefixed and trailing byte handling.
Everything else is normal struct/enum codegen.
Structs§
- Wire
Type - A wire type to generate Swift code for.
Functions§
- generate_
wire_ types - Generate a complete Swift wire types file.