Home / Function/ fill() — netty Function Reference

fill() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  15497547_5dff_831f_c165_34a9fefaabf6["fill()"]
  d8799dbf_bb37_0b83_31db_1d46b949f434["AbstractBufferEvent"]
  15497547_5dff_831f_c165_34a9fefaabf6 -->|defined in| d8799dbf_bb37_0b83_31db_1d46b949f434
  style 15497547_5dff_831f_c165_34a9fefaabf6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractBufferEvent.java lines 39–46

    public void fill(AbstractByteBuf buf, Class<? extends AbstractByteBufAllocator> allocatorType) {
        this.allocatorType = allocatorType;
        size = buf.capacity();
        maxFastCapacity = buf.maxFastWritableBytes() + buf.writerIndex();
        maxCapacity = buf.maxCapacity();
        direct = buf.isDirect();
        address = buf._memoryAddress();
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free