Function portus::lang::compile_and_serialize
source · pub fn compile_and_serialize(
src: &[u8],
updates: &[(&str, u32)]
) -> Result<(Vec<u8>, Scope)>
Expand description
compile_and_serialize()
adds a fourth pass.
The resulting bytes can be passed to the datapath.
serialize::serialize()
serializes a Bin
into bytes.