MCPcopy Index your code
hub / github.com/aofeng/JavaTutorial / merge

Method merge

src/cn/aofeng/demo/nio/NioEchoServer.java:103–120  ·  view source on GitHub ↗

顺序合并两个ByteBuffer的内容,且不改变ByteBuffer原来的标志位。即: 合并后的ByteBuffer = first + second @param first 第一个待合并的ByteBuffer,合并后其内容在前面 @param second 第二个待合并的ByteBuffer,合并后其内容在后面 @return 合并后的内容。如果两个ByteBuffer都为null,返回null。

(ByteBuffer first, ByteBuffer second)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

readDataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected