更换Channels.write时byteBuffer为directBuffer.