getColorFromByte static method

int getColorFromByte(
  1. List<int> byte,
  2. int index, {
  3. bool isLog = false,
})

Implementation

static int getColorFromByte(List<int> byte, int index, {bool isLog = false}) {
  return getColorRgb(
      byte[index], byte[index + 1], byte[index + 2], byte[index + 3]);
}