getLenOfL function

int getLenOfL(
  1. String str,
  2. int start
)

Implementation

int getLenOfL(String str, int start) {
  if (int.parse(str[start + 2]) < 8) return 1;
  return int.parse(str.substring(start + 2, start + 4)) & 0x7f + 1;
}