pub fn decode<'a, V>(
arena: &'a Arena,
bytes: &[u8],
plutus_version: PlutusVersion,
protocol_version_major: u32,
) -> Result<&'a Program<'a, V>, FlatDecodeError>where
V: Binder<'a>,Expand description
Decode a flat-encoded UPLC program, validating builtins against the given Plutus language version and protocol version. Allows trailing bytes.