Home / Function/ decodeInt() — netty Function Reference

decodeInt() — netty Function Reference

Architecture documentation for the decodeInt() function in NativeInetAddress.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  b912c6cd_787e_6c61_c70e_24982dc7bfb8["decodeInt()"]
  8c187a6a_d8a7_5d2b_d6bb_c850cff3c2c3["NativeInetAddress"]
  b912c6cd_787e_6c61_c70e_24982dc7bfb8 -->|defined in| 8c187a6a_d8a7_5d2b_d6bb_c850cff3c2c3
  cedb0830_08b2_c585_5975_b4a9bdbeae9e["InetSocketAddress()"]
  cedb0830_08b2_c585_5975_b4a9bdbeae9e -->|calls| b912c6cd_787e_6c61_c70e_24982dc7bfb8
  style b912c6cd_787e_6c61_c70e_24982dc7bfb8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common/src/main/java/io/netty/channel/unix/NativeInetAddress.java lines 111–116

    static int decodeInt(byte[] addr, int index) {
        return  (addr[index]     & 0xff) << 24 |
                (addr[index + 1] & 0xff) << 16 |
                (addr[index + 2] & 0xff) <<  8 |
                addr[index + 3] & 0xff;
    }

Domain

Subdomains

Frequently Asked Questions

What does decodeInt() do?
decodeInt() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/NativeInetAddress.java.
Where is decodeInt() defined?
decodeInt() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/NativeInetAddress.java at line 111.
What calls decodeInt()?
decodeInt() is called by 1 function(s): InetSocketAddress.

Analyze Your Own Codebase

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

Try Supermodel Free