pub fn decode(script: &LockingScript) -> Result<PushDropData, ScriptError>Expand description
Decode a PushDrop locking script in the default (Before) position.
A free function, mirroring Go’s package-level pushdrop.Decode. Decoding does
not involve a wallet, so it must not be bound to the wallet-generic
PushDrop type — otherwise every call site needs a meaningless turbofish.