newBIO() — netty Function Reference
Architecture documentation for the newBIO() function in ReferenceCountedOpenSslContext.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0f3333cb_eeca_56d6_7108_63f6ed2f4bca["newBIO()"] a8fb0f76_e201_5987_db10_2b8b0b47e791["ReferenceCountedOpenSslContext"] 0f3333cb_eeca_56d6_7108_63f6ed2f4bca -->|defined in| a8fb0f76_e201_5987_db10_2b8b0b47e791 2cd31a19_5ca6_d5ce_61fe_753af4367e31["toBIO()"] 2cd31a19_5ca6_d5ce_61fe_753af4367e31 -->|calls| 0f3333cb_eeca_56d6_7108_63f6ed2f4bca 4bd0abd9_b8ec_3db0_ec88_b0976da28e9e["release()"] 0f3333cb_eeca_56d6_7108_63f6ed2f4bca -->|calls| 4bd0abd9_b8ec_3db0_ec88_b0976da28e9e style 0f3333cb_eeca_56d6_7108_63f6ed2f4bca fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslContext.java lines 1041–1053
private static long newBIO(ByteBuf buffer) throws Exception {
try {
long bio = SSL.newMemBIO();
int readable = buffer.readableBytes();
if (SSL.bioWrite(bio, OpenSsl.memoryAddress(buffer) + buffer.readerIndex(), readable) != readable) {
SSL.freeBIO(bio);
throw new IllegalStateException("Could not write data to memory BIO");
}
return bio;
} finally {
buffer.release();
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does newBIO() do?
newBIO() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslContext.java.
Where is newBIO() defined?
newBIO() is defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslContext.java at line 1041.
What does newBIO() call?
newBIO() calls 1 function(s): release.
What calls newBIO()?
newBIO() is called by 1 function(s): toBIO.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free