We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bb6c71 commit fb898f7Copy full SHA for fb898f7
1 file changed
src/hyperlight_common/src/flatbuffer_wrappers/function_call.rs
@@ -74,6 +74,12 @@ impl FunctionCall {
74
}
75
76
/// Encodes self into the given builder and returns the encoded data.
77
+ ///
78
+ /// # Notes
79
80
+ /// The builder should not be reused after a call to encode, since this function
81
+ /// does not reset the state of the builder. If you want to reuse the builder,
82
+ /// you'll need to reset it first.
83
pub fn encode<'a>(&self, builder: &'a mut FlatBufferBuilder) -> &'a [u8] {
84
let function_name = builder.create_string(&self.function_name);
85
0 commit comments