pub fn pack_flatbuffer<'a, T: FlatbufferPack<'a>>(
native: &T,
) -> FlatBufferBuilder<'a>Expand description
Convenience helper that packs a FlatBuffer-compatible struct.
This function builds a FlatBuffer using a default initial buffer size, finishes the buffer, and returns the builder.