Home / Function/ decodeInline() — netty Function Reference

decodeInline() — netty Function Reference

Architecture documentation for the decodeInline() function in RedisDecoder.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  f0bc4d3a_0846_bfbf_3cb8_e1666750a218["decodeInline()"]
  2421b439_cffa_67ca_b872_bb582dd0dbf2["RedisDecoder"]
  f0bc4d3a_0846_bfbf_3cb8_e1666750a218 -->|defined in| 2421b439_cffa_67ca_b872_bb582dd0dbf2
  04cf8633_8ce7_e5aa_352b_1b23a309052f["decode()"]
  04cf8633_8ce7_e5aa_352b_1b23a309052f -->|calls| f0bc4d3a_0846_bfbf_3cb8_e1666750a218
  fe09be93_7a87_7d9a_a4e2_1f26488d2f56["resetDecoder()"]
  f0bc4d3a_0846_bfbf_3cb8_e1666750a218 -->|calls| fe09be93_7a87_7d9a_a4e2_1f26488d2f56
  style f0bc4d3a_0846_bfbf_3cb8_e1666750a218 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-redis/src/main/java/io/netty/handler/codec/redis/RedisDecoder.java lines 155–167

    private boolean decodeInline(ByteBuf in, List<Object> out) throws Exception {
        ByteBuf lineBytes = readLine(in);
        if (lineBytes == null) {
            if (in.readableBytes() > maxInlineMessageLength) {
                throw new RedisCodecException("length: " + in.readableBytes() +
                                              " (expected: <= " + maxInlineMessageLength + ")");
            }
            return false;
        }
        out.add(newInlineRedisMessage(type, lineBytes));
        resetDecoder();
        return true;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does decodeInline() do?
decodeInline() is a function in the netty codebase, defined in codec-redis/src/main/java/io/netty/handler/codec/redis/RedisDecoder.java.
Where is decodeInline() defined?
decodeInline() is defined in codec-redis/src/main/java/io/netty/handler/codec/redis/RedisDecoder.java at line 155.
What does decodeInline() call?
decodeInline() calls 1 function(s): resetDecoder.
What calls decodeInline()?
decodeInline() is called by 1 function(s): decode.

Analyze Your Own Codebase

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

Try Supermodel Free