pub fn from_msgpack(
partial: &mut Partial<'_>,
msgpack: &[u8],
) -> Result<(), Error>Expand description
Deserializes MessagePack-encoded data into a Shapely Partial.
This function takes a MessagePack byte array and populates a Partial object according to the shape description provided by the Partial.
§Parameters
partial- A mutable reference to a Partial object that will be filled with deserialized datamsgpack- A byte slice containing MessagePack-encoded data
§Returns
Ok(())if deserialization was successfulErr(DecodeError)if an error occurred during deserialization
§MessagePack Format
This implementation follows the MessagePack specification: https://github.com/msgpack/msgpack/blob/master/spec.md