Home / Function/ decodeHexNibble() — netty Function Reference

decodeHexNibble() — netty Function Reference

Architecture documentation for the decodeHexNibble() function in DecodeHexBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6d519e34_548d_1ed1_0ebf_25a878b038c9["decodeHexNibble()"]
  5c3828dc_c4a2_3a97_8b53_37a9c4e8cecf["DecodeHexBenchmark"]
  6d519e34_548d_1ed1_0ebf_25a878b038c9 -->|defined in| 5c3828dc_c4a2_3a97_8b53_37a9c4e8cecf
  ddcbd000_b7c4_9660_6917_1dad06c10102["hexDigits()"]
  ddcbd000_b7c4_9660_6917_1dad06c10102 -->|calls| 6d519e34_548d_1ed1_0ebf_25a878b038c9
  15e66ba0_6c18_6eb9_a9f3_30226cb093a1["hexDigitsOriginal()"]
  15e66ba0_6c18_6eb9_a9f3_30226cb093a1 -->|calls| 6d519e34_548d_1ed1_0ebf_25a878b038c9
  style 6d519e34_548d_1ed1_0ebf_25a878b038c9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http/DecodeHexBenchmark.java lines 125–136

    private static int decodeHexNibble(final char c) {
        if (c >= '0' && c <= '9') {
            return c - '0';
        }
        if (c >= 'A' && c <= 'F') {
            return c - ('A' - 0xA);
        }
        if (c >= 'a' && c <= 'f') {
            return c - ('a' - 0xA);
        }
        return -1;
    }

Domain

Subdomains

Frequently Asked Questions

What does decodeHexNibble() do?
decodeHexNibble() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http/DecodeHexBenchmark.java.
Where is decodeHexNibble() defined?
decodeHexNibble() is defined in microbench/src/main/java/io/netty/handler/codec/http/DecodeHexBenchmark.java at line 125.
What calls decodeHexNibble()?
decodeHexNibble() is called by 2 function(s): hexDigits, hexDigitsOriginal.

Analyze Your Own Codebase

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

Try Supermodel Free