code: public static ByteArrayList toByteArrayList(final String s, final ByteArrayList list) {
  		list.clear();
  		list.size(s.length());
  		final byte[] array = list.elements();
  		for (int i = list.size(); i-- != 0;) {
  			assert s.charAt(i) < (char)0x80 : s.charAt(i);
  			array[i] = (byte)(s.charAt(i) & 0x7F);
  		}
  		return list;
  	}
docs: Writes an ASCII string in a {@link ByteArrayList}.
  
  @param s an ASCII string.
  @param list a byte list that will contain the byte representation of {@code s}.
  @return {@code list}.
  @throws AssertionError if assertions are enabled and some character of {@code s} is not ASCII.