code: public static ByteBuffer bytes(String s)
  	    {
  	    	if(s==null)
  	    		return null;
  	        return ByteBuffer.wrap(s.getBytes(UTF_8));
  	    }
docs: Encode a String in a ByteBuffer using UTF_8.
  
  @param s the string to encode
  @return the encoded string