Home / Function/ readBytes() — netty Function Reference

readBytes() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  217ce369_6f95_908a_1f06_ee19c419a4e3["readBytes()"]
  bbab270f_457a_3319_83a8_0a0540484666["AbstractByteBuf"]
  217ce369_6f95_908a_1f06_ee19c419a4e3 -->|defined in| bbab270f_457a_3319_83a8_0a0540484666
  e9e1f861_5813_ec75_8a61_6b29c497ac9f["ByteBuf()"]
  e9e1f861_5813_ec75_8a61_6b29c497ac9f -->|calls| 217ce369_6f95_908a_1f06_ee19c419a4e3
  e37b4a97_c05b_76c9_b413_348510ecb1f3["checkReadableBytes()"]
  217ce369_6f95_908a_1f06_ee19c419a4e3 -->|calls| e37b4a97_c05b_76c9_b413_348510ecb1f3
  style 217ce369_6f95_908a_1f06_ee19c419a4e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java lines 950–957

    @Override
    public int readBytes(GatheringByteChannel out, int length)
            throws IOException {
        checkReadableBytes(length);
        int readBytes = getBytes(readerIndex, out, length);
        readerIndex += readBytes;
        return readBytes;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does readBytes() do?
readBytes() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java.
Where is readBytes() defined?
readBytes() is defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java at line 950.
What does readBytes() call?
readBytes() calls 1 function(s): checkReadableBytes.
What calls readBytes()?
readBytes() 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