deserialize static method

Script deserialize(
  1. Deserializer deserializer
)

Implementation

static Script deserialize(Deserializer deserializer) {
  final code = deserializer.deserializeBytes();
  final typeArgs = deserializeVector<TypeTag>(deserializer, TypeTag.deserialize);
  final args = deserializeVector<TransactionArgument>(deserializer, TransactionArgument.deserialize);
  return Script(code, typeArgs, args);
}