shouldRejectSetBytes2() — netty Function Reference
Architecture documentation for the shouldRejectSetBytes2() function in ReadOnlyByteBufTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4f64cccc_30c1_76f3_fec8_81ce5fae9131["shouldRejectSetBytes2()"] 9d029ceb_0baf_f35e_1671_646a96ecf982["ReadOnlyByteBufTest"] 4f64cccc_30c1_76f3_fec8_81ce5fae9131 -->|defined in| 9d029ceb_0baf_f35e_1671_646a96ecf982 style 4f64cccc_30c1_76f3_fec8_81ce5fae9131 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/ReadOnlyByteBufTest.java lines 212–220
@Test
public void shouldRejectSetBytes2() {
assertThrows(UnsupportedOperationException.class, new Executable() {
@Override
public void execute() throws IOException {
unmodifiableBuffer(EMPTY_BUFFER).setBytes(0, (ScatteringByteChannel) null, 0);
}
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does shouldRejectSetBytes2() do?
shouldRejectSetBytes2() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ReadOnlyByteBufTest.java.
Where is shouldRejectSetBytes2() defined?
shouldRejectSetBytes2() is defined in buffer/src/test/java/io/netty/buffer/ReadOnlyByteBufTest.java at line 212.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free