Home / Function/ getValue() — netty Function Reference

getValue() — netty Function Reference

Architecture documentation for the getValue() function in Lz4XXHash32.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  33b2a984_fe94_131e_cf4f_01e98fd1c730["getValue()"]
  7fa152c6_bd73_29ce_b041_59092999242f["Lz4XXHash32"]
  33b2a984_fe94_131e_cf4f_01e98fd1c730 -->|defined in| 7fa152c6_bd73_29ce_b041_59092999242f
  style 33b2a984_fe94_131e_cf4f_01e98fd1c730 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/main/java/io/netty/handler/codec/compression/Lz4XXHash32.java lines 89–101

    @Override
    public long getValue() {
        if (!used) {
            throw new IllegalStateException();
        }
        /*
         * If you look carefully, you'll notice that the most significant nibble
         * is being discarded; we believe this to be a bug, but this is what
         * StreamingXXHash32#asChecksum() implementation of getValue() does,
         * so we have to retain this behaviour for compatibility reasons.
         */
        return value & 0xFFFFFFFL;
    }

Domain

Subdomains

Frequently Asked Questions

What does getValue() do?
getValue() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Lz4XXHash32.java.
Where is getValue() defined?
getValue() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Lz4XXHash32.java at line 89.

Analyze Your Own Codebase

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

Try Supermodel Free