Home / Function/ isCDATABlockStart() — netty Function Reference

isCDATABlockStart() — netty Function Reference

Architecture documentation for the isCDATABlockStart() function in XmlFrameDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  56cf43c0_f19c_4ce5_a232_f932718a5dd2["isCDATABlockStart()"]
  7d6b87e5_eb7b_72e0_1afd_174c09a039b0["XmlFrameDecoder"]
  56cf43c0_f19c_4ce5_a232_f932718a5dd2 -->|defined in| 7d6b87e5_eb7b_72e0_1afd_174c09a039b0
  16b71bcb_9bc6_dcdf_9d02_291227b77db6["decode()"]
  16b71bcb_9bc6_dcdf_9d02_291227b77db6 -->|calls| 56cf43c0_f19c_4ce5_a232_f932718a5dd2
  style 56cf43c0_f19c_4ce5_a232_f932718a5dd2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-xml/src/main/java/io/netty/handler/codec/xml/XmlFrameDecoder.java lines 234–243

    private static boolean isCDATABlockStart(final ByteBuf in, final int i) {
        return i < in.writerIndex() - 8
                && in.getByte(i + 2) == '['
                && in.getByte(i + 3) == 'C'
                && in.getByte(i + 4) == 'D'
                && in.getByte(i + 5) == 'A'
                && in.getByte(i + 6) == 'T'
                && in.getByte(i + 7) == 'A'
                && in.getByte(i + 8) == '[';
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does isCDATABlockStart() do?
isCDATABlockStart() is a function in the netty codebase, defined in codec-xml/src/main/java/io/netty/handler/codec/xml/XmlFrameDecoder.java.
Where is isCDATABlockStart() defined?
isCDATABlockStart() is defined in codec-xml/src/main/java/io/netty/handler/codec/xml/XmlFrameDecoder.java at line 234.
What calls isCDATABlockStart()?
isCDATABlockStart() 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