readableBytes() — netty Function Reference
Architecture documentation for the readableBytes() function in AbstractByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 209199c1_b9f8_1504_cd35_cd206a0bedd8["readableBytes()"] bbab270f_457a_3319_83a8_0a0540484666["AbstractByteBuf"] 209199c1_b9f8_1504_cd35_cd206a0bedd8 -->|defined in| bbab270f_457a_3319_83a8_0a0540484666 e9e1f861_5813_ec75_8a61_6b29c497ac9f["ByteBuf()"] e9e1f861_5813_ec75_8a61_6b29c497ac9f -->|calls| 209199c1_b9f8_1504_cd35_cd206a0bedd8 fbf9b69d_9f7a_bc47_1fd1_fd87c4f361e5["checkReadableBounds()"] fbf9b69d_9f7a_bc47_1fd1_fd87c4f361e5 -->|calls| 209199c1_b9f8_1504_cd35_cd206a0bedd8 2d9cb89f_f9c5_6877_bd5a_6abb17373b70["ByteBuffer()"] 2d9cb89f_f9c5_6877_bd5a_6abb17373b70 -->|calls| 209199c1_b9f8_1504_cd35_cd206a0bedd8 8e7f8741_0f7c_2519_0feb_5f8800abb110["nioBuffers()"] 8e7f8741_0f7c_2519_0feb_5f8800abb110 -->|calls| 209199c1_b9f8_1504_cd35_cd206a0bedd8 6f486cb6_d380_4c00_1e2d_941516578655["String()"] 6f486cb6_d380_4c00_1e2d_941516578655 -->|calls| 209199c1_b9f8_1504_cd35_cd206a0bedd8 ac4e8507_de93_5798_d1b4_47a76043fd91["bytesBefore()"] ac4e8507_de93_5798_d1b4_47a76043fd91 -->|calls| 209199c1_b9f8_1504_cd35_cd206a0bedd8 style 209199c1_b9f8_1504_cd35_cd206a0bedd8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java lines 176–179
@Override
public int readableBytes() {
return writerIndex - readerIndex;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does readableBytes() do?
readableBytes() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java.
Where is readableBytes() defined?
readableBytes() is defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java at line 176.
What calls readableBytes()?
readableBytes() is called by 6 function(s): ByteBuf, ByteBuffer, String, bytesBefore, checkReadableBounds, nioBuffers.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free