toBytes method

  1. @override
List<int> toBytes()
override

Converts the program to bytes using Borsh serialization.

Implementation

@override
List<int> toBytes() {
  return StringUtils.toBytes(memo);
}