encodeLength static method

List<int> encodeLength(
  1. List<int> bytes
)

Implementation

static List<int> encodeLength(List<int> bytes) {
  return const SubstrateScaleCUintEncoder().encode(bytes.length.toString());
}