Home / Function/ bytesBefore() — netty Function Reference

bytesBefore() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ac4e8507_de93_5798_d1b4_47a76043fd91["bytesBefore()"]
  bbab270f_457a_3319_83a8_0a0540484666["AbstractByteBuf"]
  ac4e8507_de93_5798_d1b4_47a76043fd91 -->|defined in| bbab270f_457a_3319_83a8_0a0540484666
  e34ed3b7_d7f4_5f98_9b6d_87d59cdaec5a["readerIndex()"]
  ac4e8507_de93_5798_d1b4_47a76043fd91 -->|calls| e34ed3b7_d7f4_5f98_9b6d_87d59cdaec5a
  209199c1_b9f8_1504_cd35_cd206a0bedd8["readableBytes()"]
  ac4e8507_de93_5798_d1b4_47a76043fd91 -->|calls| 209199c1_b9f8_1504_cd35_cd206a0bedd8
  e37b4a97_c05b_76c9_b413_348510ecb1f3["checkReadableBytes()"]
  ac4e8507_de93_5798_d1b4_47a76043fd91 -->|calls| e37b4a97_c05b_76c9_b413_348510ecb1f3
  3321428b_63d8_e5e1_d5df_4467881a66be["indexOf()"]
  ac4e8507_de93_5798_d1b4_47a76043fd91 -->|calls| 3321428b_63d8_e5e1_d5df_4467881a66be
  style ac4e8507_de93_5798_d1b4_47a76043fd91 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java lines 1264–1267

    @Override
    public int bytesBefore(byte value) {
        return bytesBefore(readerIndex(), readableBytes(), value);
    }

Domain

Subdomains

Frequently Asked Questions

What does bytesBefore() do?
bytesBefore() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java.
Where is bytesBefore() defined?
bytesBefore() is defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java at line 1264.
What does bytesBefore() call?
bytesBefore() calls 4 function(s): checkReadableBytes, indexOf, readableBytes, readerIndex.

Analyze Your Own Codebase

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

Try Supermodel Free