Home / Function/ packIntoLong() — netty Function Reference

packIntoLong() — netty Function Reference

Architecture documentation for the packIntoLong() function in AbstractDnsOptPseudoRrRecord.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  91c3b012_7582_a472_bbfe_14f48e2450b6["packIntoLong()"]
  167a5897_a395_9feb_19c0_75a245c47220["AbstractDnsOptPseudoRrRecord"]
  91c3b012_7582_a472_bbfe_14f48e2450b6 -->|defined in| 167a5897_a395_9feb_19c0_75a245c47220
  6ad3d2d2_6c8e_1cfc_3249_a105bbcae597["AbstractDnsOptPseudoRrRecord()"]
  6ad3d2d2_6c8e_1cfc_3249_a105bbcae597 -->|calls| 91c3b012_7582_a472_bbfe_14f48e2450b6
  style 91c3b012_7582_a472_bbfe_14f48e2450b6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-dns/src/main/java/io/netty/handler/codec/dns/AbstractDnsOptPseudoRrRecord.java lines 37–40

    private static long packIntoLong(int val, int val2) {
        // We are currently not support DO and Z fields, just use 0.
        return ((val & 0xffL) << 24 | (val2 & 0xff) << 16) & 0xFFFFFFFFL;
    }

Subdomains

Frequently Asked Questions

What does packIntoLong() do?
packIntoLong() is a function in the netty codebase, defined in codec-dns/src/main/java/io/netty/handler/codec/dns/AbstractDnsOptPseudoRrRecord.java.
Where is packIntoLong() defined?
packIntoLong() is defined in codec-dns/src/main/java/io/netty/handler/codec/dns/AbstractDnsOptPseudoRrRecord.java at line 37.
What calls packIntoLong()?
packIntoLong() is called by 1 function(s): AbstractDnsOptPseudoRrRecord.

Analyze Your Own Codebase

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

Try Supermodel Free