static appendBytes(content, mode, bits, encoding) {
			switch (mode) {
				case Mode$1.NUMERIC:
					Encoder.appendNumericBytes(content, bits);
					break;
				case Mode$1.ALPHANUMERIC:
					Encoder.appendAlphanumericBytes(content, bits);
					break;
				case Mode$1.BYTE:
					Encoder.append8BitBytes(content, bits, encoding);
					break;
				case Mode$1.KANJI:
					Encoder.appendKanjiBytes(content, bits);
					break;
				default:
					throw new WriterException('Invalid mode: ' + mode);
			}
		}
Append "bytes" in "mode" mode (encoding) into "bits". On success, store the result in "bits".