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

Method getLine

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

从字节缓冲区中获取"一行",即获取包括行结束符及其前面的内容。 @param buffer 输入缓冲区 @return 有遇到行结束符,返回包括行结束符在内的字节缓冲区;否则返回null。

(ByteBuffer buffer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

readDataMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected