Skip to main content

from_scaled_bytes

Function from_scaled_bytes 

Source
pub fn from_scaled_bytes<V: TowerValue>(
    kind: u8,
    name: &str,
    residues: &[u8],
    bytes: &[u8],
) -> Option<V>
Expand description

The value scaled_bytes wrote; None for a forged or non-canonical encoding.