toZCharList static method

List<int> toZCharList(
  1. String line
)

Converts line to a equivalent array of Z-Characters.

Implementation

static List<int> toZCharList(String line) {
  var list = <int>[];

  for (int i = 0; i < line.length; i++) {
    list.add(charToZChar(line[i]));
  }
  return list;
}