Home / Function/ AsciiString() — netty Function Reference

AsciiString() — netty Function Reference

Architecture documentation for the AsciiString() function in AsciiStringUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc["AsciiString()"]
  84873396_ba4c_3002_b5f9_9b7743d03751["AsciiStringUtil"]
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc -->|defined in| 84873396_ba4c_3002_b5f9_9b7743d03751
  b3010567_92f1_0afe_995f_c513e385142f["toLowerCase()"]
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc -->|calls| b3010567_92f1_0afe_995f_c513e385142f
  b1bfa746_05ac_cde4_0422_8b8d974c5698["containsUpperCase()"]
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc -->|calls| b1bfa746_05ac_cde4_0422_8b8d974c5698
  4145ce36_ee3b_ee17_ea11_7e3ee9de39d1["toUpperCase()"]
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc -->|calls| 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1
  21106794_3e29_aab2_bb7f_344a799d8acc["containsLowerCase()"]
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc -->|calls| 21106794_3e29_aab2_bb7f_344a799d8acc
  style 58ce1a46_a851_3cdb_7866_9d7058c6d7dc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/AsciiStringUtil.java lines 32–42

    static AsciiString toLowerCase(final AsciiString string) {
        final byte[] byteArray = string.array();
        final int offset = string.arrayOffset();
        final int length = string.length();
        if (!containsUpperCase(byteArray, offset, length)) {
            return string;
        }
        final byte[] newByteArray = PlatformDependent.allocateUninitializedArray(length);
        toLowerCase(byteArray, offset, newByteArray);
        return new AsciiString(newByteArray, false);
    }

Domain

Subdomains

Frequently Asked Questions

What does AsciiString() do?
AsciiString() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/AsciiStringUtil.java.
Where is AsciiString() defined?
AsciiString() is defined in common/src/main/java/io/netty/util/AsciiStringUtil.java at line 32.
What does AsciiString() call?
AsciiString() calls 4 function(s): containsLowerCase, containsUpperCase, toLowerCase, toUpperCase.

Analyze Your Own Codebase

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

Try Supermodel Free