getDecodeMap static method
Implementation
static Map<String, int> getDecodeMap(Encoding encoding) {
var map = _decodeMap[encoding];
if (map != null) {
return map;
} else {
var chars = _encodeMap[encoding]!;
// ignore: omit_local_variable_types
Map<String, int> map = {};
for (var i = 0; i < 32; i++) {
map[chars[i]] = i;
}
_decodeMap[encoding] = map;
return map;
}
}