Home / Function/ doWriteFileRegion() — netty Function Reference

doWriteFileRegion() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f2d14786_a1b5_cd48_6ee0_8dc26017ccd2["doWriteFileRegion()"]
  f2eb70be_1f76_3e54_0854_050839fa58d4["NioSocketChannel"]
  f2d14786_a1b5_cd48_6ee0_8dc26017ccd2 -->|defined in| f2eb70be_1f76_3e54_0854_050839fa58d4
  style f2d14786_a1b5_cd48_6ee0_8dc26017ccd2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java lines 359–363

    @Override
    protected long doWriteFileRegion(FileRegion region) throws Exception {
        final long position = region.transferred();
        return region.transferTo(javaChannel(), position);
    }

Domain

Subdomains

Frequently Asked Questions

What does doWriteFileRegion() do?
doWriteFileRegion() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java.
Where is doWriteFileRegion() defined?
doWriteFileRegion() is defined in transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java at line 359.

Analyze Your Own Codebase

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

Try Supermodel Free