code: private static byte[] bytes(char[] chars) {
          byte[] bytes = new byte[chars.length];
          for (int i = 0; i < bytes.length; i++) {
              char c = chars[i];
              bytes[i] = (byte) c;
          }
          return bytes;
      }
docs: Returns the {@code byte} array representation of the specified {@code char} array.
  
  @param chars The {@code char} array to be converted.
  @return The {@code byte} array representation of the specified {@code char} array.