Adds a node to the parent graph converting a binary array associated with the node to an array of a given scalar type. Applies [Graph::b2a] to the parent graph, `this` node and `scalar_type`. # Example ``` # use ciphercore_base::graphs::create_context; # use ciphercore_base::data_types::{BIT, INT32, array_type}; let c = create_context().unwrap(); let g = c.create_graph().unwrap(); let t = array
(&self, scalar_type: ScalarType)
| 1074 | /// let n2 = n1.b2a(INT32).unwrap(); |
| 1075 | /// ``` |
| 1076 | pub fn b2a(&self, scalar_type: ScalarType) -> Result<Node> { |
| 1077 | self.get_graph().b2a(self.clone(), scalar_type) |
| 1078 | } |
| 1079 | |
| 1080 | /// Adds a node that extracts an element of a tuple associated with the node. |
| 1081 | /// |