com_baeldung_selector_NioEchoLiveTest_java
com.baeldung.selector.EchoClient
public String sendMessage(String msg) {         buffer = ByteBuffer.wrap(msg.getBytes());         String response = null;         try {             client.write(buffer);

 -> java.lang.String.getBytes(): byte[] -> java.nio.ByteBuffer.wrap(byte[]): java.nio.ByteBuffer -> java.nio.channels.SocketChannel.write(java.nio.ByteBuffer): int