Skip to main content

from_cbor

Function from_cbor 

Source
pub fn from_cbor(bytes: &[u8]) -> Result<GeometryGraph, WireError>
Expand description

Read a graph from a CBOR payload: one data item, nothing after it.

ยงErrors

A named WireError for every payload this reader cannot read whole; see the module documentation.