code: public static OutputStream toOutputStream(final String s, final OutputStream os) throws IOException {
  		// This needs to be fast.
  		final int length = s.length();
  		for(int i = 0; i < length; i++) {
  			assert s.charAt(i) < (char)0x100 : s.charAt(i);
  			os.write(s.charAt(i));
  		}
  
  		return os;
  	}
docs: Writes a string to an output stream, discarding higher order bits.
  
  <p>This method is significantly faster than those relying on character encoders, and it does not allocate any object.
  
  @param s a string.
  @param os an output stream.
  @return {@code os}.
  @throws AssertionError if assertions are enabled and some character of {@code s} does not fit a byte.