toBytes

fun toBytes(): List<UByte>

Return the script as bytes.