static Uint8List getBytes(int c, [int? c2]) { final isNull = c2 == null; final result = Uint8List(isNull ? 1 : 2); result[0] = c; if (!isNull) { result[1] = c2; } return result; }