Home / Function/ PooledDuplicatedByteBuf() — netty Function Reference

PooledDuplicatedByteBuf() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a446b0a9_0e89_2453_8cd5_b53c885461b8["PooledDuplicatedByteBuf()"]
  56c9df0a_8736_fff6_1b71_65b3b16809a3["PooledDuplicatedByteBuf"]
  a446b0a9_0e89_2453_8cd5_b53c885461b8 -->|defined in| 56c9df0a_8736_fff6_1b71_65b3b16809a3
  style a446b0a9_0e89_2453_8cd5_b53c885461b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/PooledDuplicatedByteBuf.java lines 41–49

    static PooledDuplicatedByteBuf newInstance(AbstractByteBuf unwrapped, ByteBuf wrapped,
                                               int readerIndex, int writerIndex) {
        final PooledDuplicatedByteBuf duplicate = RECYCLER.get();
        duplicate.init(unwrapped, wrapped, readerIndex, writerIndex, unwrapped.maxCapacity());
        duplicate.markReaderIndex();
        duplicate.markWriterIndex();

        return duplicate;
    }

Domain

Subdomains

Frequently Asked Questions

What does PooledDuplicatedByteBuf() do?
PooledDuplicatedByteBuf() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PooledDuplicatedByteBuf.java.
Where is PooledDuplicatedByteBuf() defined?
PooledDuplicatedByteBuf() is defined in buffer/src/main/java/io/netty/buffer/PooledDuplicatedByteBuf.java at line 41.

Analyze Your Own Codebase

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

Try Supermodel Free