pub fn decode_spec_value(
ty: &ContractType,
bytes: &[u8],
type_defs: &TypeDefIndex<'_>,
) -> Result<Value, Error>Expand description
Decode one top-level contract spec value from a byte slice.
pub fn decode_spec_value(
ty: &ContractType,
bytes: &[u8],
type_defs: &TypeDefIndex<'_>,
) -> Result<Value, Error>Decode one top-level contract spec value from a byte slice.