Function expry::expry_slice
source · [−]pub fn expry_slice<'b, 'c>(
bytecode: BytecodeRef<'b>,
value: ValueRef<'b>,
allocator: &mut MemoryScope<'c>
) -> Result<ValueRef<'b>, EvalError<'b>> where
'c: 'b,
Expand description
Evaluate expression bytecode in the context of the given value
, resulting in an encoded
object.
The encoded resulting value can be directly transfered over a wire.
This version is cheaper because values can be included directly in encoded form, so a decoding step is skipped.