Skip to main content

generate_encode_stmt

Function generate_encode_stmt 

Source
pub fn generate_encode_stmt(shape: &'static Shape, value: &str) -> String
Expand description

Generate a Swift encode statement for a given shape and value. The statement appends into the implicit buffer: inout ByteBuffer in scope.