testSetBytesWithByteBuf() — netty Function Reference
Architecture documentation for the testSetBytesWithByteBuf() function in FixedCompositeByteBufTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e26ca1a0_7714_e1f4_de19_abf823f566fb["testSetBytesWithByteBuf()"] 0580ab1c_4068_2dfc_70ec_23a7d5440016["FixedCompositeByteBufTest"] e26ca1a0_7714_e1f4_de19_abf823f566fb -->|defined in| 0580ab1c_4068_2dfc_70ec_23a7d5440016 style e26ca1a0_7714_e1f4_de19_abf823f566fb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/FixedCompositeByteBufTest.java lines 74–89
@Test
public void testSetBytesWithByteBuf() {
final ByteBuf buf = newBuffer(wrappedBuffer(new byte[8]));
final ByteBuf src = wrappedBuffer(new byte[4]);
try {
assertThrows(ReadOnlyBufferException.class, new Executable() {
@Override
public void execute() {
buf.setBytes(0, src);
}
});
} finally {
buf.release();
src.release();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testSetBytesWithByteBuf() do?
testSetBytesWithByteBuf() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/FixedCompositeByteBufTest.java.
Where is testSetBytesWithByteBuf() defined?
testSetBytesWithByteBuf() is defined in buffer/src/test/java/io/netty/buffer/FixedCompositeByteBufTest.java at line 74.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free