getDecodedValue static method

int getDecodedValue(
  1. List<int> moduleBitCount
)

Implementation

static int getDecodedValue(List<int> moduleBitCount) {
  final decodedValue =
      _getDecodedCodewordValue(_sampleBitCounts(moduleBitCount));
  if (decodedValue != -1) {
    return decodedValue;
  }
  return _getClosestDecodedValue(moduleBitCount);
}