pub fn script_serialized_size(script: &Script) -> usize
Returns the length of script as encoded, including its CompactSize length prefix.
script