testGetReadLong() — netty Function Reference
Architecture documentation for the testGetReadLong() function in ReadOnlyDirectByteBufferBufTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b9c716f6_9f08_b837_cfe3_31880d687e5b["testGetReadLong()"] 2436e747_1306_235e_86df_d12765b22d51["ReadOnlyDirectByteBufferBufTest"] b9c716f6_9f08_b837_cfe3_31880d687e5b -->|defined in| 2436e747_1306_235e_86df_d12765b22d51 style b9c716f6_9f08_b837_cfe3_31880d687e5b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java lines 301–314
@Test
public void testGetReadLong() {
ByteBuf buf = buffer(((ByteBuffer) allocate(16)
.putLong(1).putLong(2).flip()).asReadOnlyBuffer());
assertEquals(1, buf.getLong(0));
assertEquals(2, buf.getLong(8));
assertEquals(1, buf.readLong());
assertEquals(2, buf.readLong());
assertFalse(buf.isReadable());
buf.release();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testGetReadLong() do?
testGetReadLong() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java.
Where is testGetReadLong() defined?
testGetReadLong() is defined in buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java at line 301.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free