steganographyMethodToInt function
Maps SteganographyMethod to the native method channel integer.
Implementation
int steganographyMethodToInt(SteganographyMethod m) {
switch (m) {
case SteganographyMethod.lsb:
return 0;
case SteganographyMethod.dct:
return 1;
case SteganographyMethod.telegramRobust2:
return 2;
case SteganographyMethod.dctResidualModulation:
return 3;
}
}