Skip to main content

Module wire_conversion

Module wire_conversion 

Source
Expand description

Conversion between runtime values and wire format.

This module provides conversions between the runtime’s value types and the serializable WireValue type used for REPL communication and external tool integration.

§API (ValueWord-native)

Structs§

ExtractedContent
Extracted content with multiple render targets.

Functions§

datatable_from_ipc_bytes
Deserialize Arrow IPC bytes into a DataTable.
datatable_to_ipc_bytes
Serialize a DataTable to Arrow IPC bytes.
nb_extract_content
If the ValueWord value is a Content node, render it as JSON, HTML, and terminal strings.
nb_extract_content_full
Extract content with full detail including the raw ContentNode.
nb_extract_typed_value
Extract type info and wire value from a ValueWord value.
nb_to_envelope
Convert a ValueWord value to a ValueEnvelope with full metadata.
nb_to_wire
Convert a ValueWord value to WireValue without materializing ValueWord.
nb_typed_value_to_envelope
Convert a ValueWord value to ValueEnvelope with inferred type information.
wire_to_nb
Convert a WireValue to a ValueWord value without ValueWord intermediate.