Home / Function/ setBytes() — netty Function Reference

setBytes() — netty Function Reference

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

Function java Buffer Search calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  8fd87e98_5581_782b_aff6_0bfffc3c1fb4["setBytes()"]
  9f14a290_800b_9471_7875_152ee8d088b6["UnpooledUnsafeDirectByteBuf"]
  8fd87e98_5581_782b_aff6_0bfffc3c1fb4 -->|defined in| 9f14a290_800b_9471_7875_152ee8d088b6
  7b8ecb16_886a_021a_aef2_c22fc5e748da["ByteBuf()"]
  7b8ecb16_886a_021a_aef2_c22fc5e748da -->|calls| 8fd87e98_5581_782b_aff6_0bfffc3c1fb4
  45c47259_422e_0514_9c30_974fdaca3927["addr()"]
  8fd87e98_5581_782b_aff6_0bfffc3c1fb4 -->|calls| 45c47259_422e_0514_9c30_974fdaca3927
  style 8fd87e98_5581_782b_aff6_0bfffc3c1fb4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/UnpooledUnsafeDirectByteBuf.java lines 304–307

    @Override
    public int setBytes(int index, InputStream in, int length) throws IOException {
        return UnsafeByteBufUtil.setBytes(this, addr(index), index, in, length);
    }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does setBytes() do?
setBytes() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/UnpooledUnsafeDirectByteBuf.java.
Where is setBytes() defined?
setBytes() is defined in buffer/src/main/java/io/netty/buffer/UnpooledUnsafeDirectByteBuf.java at line 304.
What does setBytes() call?
setBytes() calls 1 function(s): addr.
What calls setBytes()?
setBytes() is called by 1 function(s): ByteBuf.

Analyze Your Own Codebase

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

Try Supermodel Free