toByteArray

Convert this script to a serialized byte array (suitable for network, execution or hashing)