encode method

  1. @override
List<int> encode(
  1. String value
)
override

Encode the provided value as a 256-bit unsigned integer (U256) in Substrate SCALE format.

Implementation

@override
List<int> encode(String value) {
  return SubstrateScaleUintEncoder._encodeWithBytesLength(value, 32);
}