bytesBefore() — netty Function Reference
Architecture documentation for the bytesBefore() function in ReplayingDecoderByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c5b90593_e9f1_87b1_729e_c235c06f5d96["bytesBefore()"] 2f1efe3a_641f_b308_f73f_447128c0e44e["ReplayingDecoderByteBuf"] c5b90593_e9f1_87b1_729e_c235c06f5d96 -->|defined in| 2f1efe3a_641f_b308_f73f_447128c0e44e b678207a_c885_fa39_edef_b509ce966e53["readerIndex()"] c5b90593_e9f1_87b1_729e_c235c06f5d96 -->|calls| b678207a_c885_fa39_edef_b509ce966e53 81568e7c_2ce5_fda3_33ff_2c665cd1622b["writerIndex()"] c5b90593_e9f1_87b1_729e_c235c06f5d96 -->|calls| 81568e7c_2ce5_fda3_33ff_2c665cd1622b style c5b90593_e9f1_87b1_729e_c235c06f5d96 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java lines 379–386
@Override
public int bytesBefore(byte value) {
int bytes = buffer.bytesBefore(value);
if (bytes < 0) {
throw REPLAY;
}
return bytes;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bytesBefore() do?
bytesBefore() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java.
Where is bytesBefore() defined?
bytesBefore() is defined in codec-base/src/main/java/io/netty/handler/codec/ReplayingDecoderByteBuf.java at line 379.
What does bytesBefore() call?
bytesBefore() calls 2 function(s): readerIndex, writerIndex.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free