Home / Function/ ByteBuf() — netty Function Reference

ByteBuf() — netty Function Reference

Architecture documentation for the ByteBuf() function in SslHandlerEchoBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  eccc4b29_eed9_52d4_cd18_44a60d1704ce["ByteBuf()"]
  be142e29_01d5_9ede_ad5e_57324a7a0b03["SslHandlerEchoBenchmark"]
  eccc4b29_eed9_52d4_cd18_44a60d1704ce -->|defined in| be142e29_01d5_9ede_ad5e_57324a7a0b03
  style eccc4b29_eed9_52d4_cd18_44a60d1704ce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/handler/ssl/SslHandlerEchoBenchmark.java lines 26–37

    @Benchmark
    public ByteBuf wrapUnwrap() throws Exception {
        ByteBuf src = doWrite(numWrites);

        do {
            serverSslHandler.channelRead(serverCtx, src);
        } while (src.isReadable());

        assert !src.isReadable() && src.refCnt() == 1 : "src: " + src + " src.refCnt(): " + src.refCnt();

        return src;
    }

Domain

Subdomains

Frequently Asked Questions

What does ByteBuf() do?
ByteBuf() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/handler/ssl/SslHandlerEchoBenchmark.java.
Where is ByteBuf() defined?
ByteBuf() is defined in microbench/src/main/java/io/netty/microbench/handler/ssl/SslHandlerEchoBenchmark.java at line 26.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free