pub fn generate_encode_stmt(shape: &'static Shape, value: &str) -> String
Generate a Swift encode statement for a given shape and value. The statement appends into the implicit buffer: inout ByteBuffer in scope.
buffer: inout ByteBuffer