Skip to main content

wire_to_nb

Function wire_to_nb 

Source
pub fn wire_to_nb(wire: &WireValue) -> ValueWord
Expand description

Convert a WireValue to a ValueWord value without ValueWord intermediate.

This is the ValueWord-native equivalent of wire_to_value. For simple types (null, bool, number, integer) it constructs ValueWord inline values directly.