private static Codons ofBytes(final byte[] bytes) {
		final var values = new int[bytes.length];
		for (int i = 0; i < values.length; ++i) {
			values[i] = Byte.toUnsignedInt(bytes[i]);
		}

		return new Codons(i -> values[i], values.length);
	}
Creates a new, classical <em>codons</em> object from the given bit-genes.
The genes is split into 8-bit chunks and converted into an unsigned
{@code int[]} array.
{@snippet lang="java":
final Codons codons = Codons.ofBitGenes(BitChromosome.of(10_000));
}

@param genes the genes used for creating the codon object
@return a new <em>codons</em> object
jenetics.ext/src/main/java/io/jenetics/ext/grammar/Codons.java