compactToBytes static method

List<int> compactToBytes(
  1. BigInt value
)

Implementation

static List<int> compactToBytes(BigInt value) {
  return const SubstrateScaleCUintEncoder().encode(value.toString());
}