decodeLast() — netty Function Reference
Architecture documentation for the decodeLast() function in CompatibleMarshallingDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bf44fa6d_9245_ee8d_993c_5f965110bb10["decodeLast()"] f85a4b1a_55ed_4666_acfd_439f0c3341dc["CompatibleMarshallingDecoder"] bf44fa6d_9245_ee8d_993c_5f965110bb10 -->|defined in| f85a4b1a_55ed_4666_acfd_439f0c3341dc 812c447b_612a_54b1_3bc3_a2cdae4c07e3["decode()"] bf44fa6d_9245_ee8d_993c_5f965110bb10 -->|calls| 812c447b_612a_54b1_3bc3_a2cdae4c07e3 style bf44fa6d_9245_ee8d_993c_5f965110bb10 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/CompatibleMarshallingDecoder.java lines 85–99
@Override
protected void decodeLast(ChannelHandlerContext ctx, ByteBuf buffer, List<Object> out) throws Exception {
switch (buffer.readableBytes()) {
case 0:
return;
case 1:
// Ignore the last TC_RESET
if (buffer.getByte(buffer.readerIndex()) == ObjectStreamConstants.TC_RESET) {
buffer.skipBytes(1);
return;
}
}
decode(ctx, buffer, out);
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does decodeLast() do?
decodeLast() is a function in the netty codebase, defined in codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/CompatibleMarshallingDecoder.java.
Where is decodeLast() defined?
decodeLast() is defined in codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/CompatibleMarshallingDecoder.java at line 85.
What does decodeLast() call?
decodeLast() calls 1 function(s): decode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free