Home / Function/ ipv4WordToByte() — netty Function Reference

ipv4WordToByte() — netty Function Reference

Architecture documentation for the ipv4WordToByte() function in NetUtil.java from the netty codebase.

Function java CommonUtil Logging calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  6014483a_62f5_4508_e69f_057f3f95b77e["ipv4WordToByte()"]
  40fb3f7d_c2dd_316b_f965_bdef8e0dad94["NetUtil"]
  6014483a_62f5_4508_e69f_057f3f95b77e -->|defined in| 40fb3f7d_c2dd_316b_f965_bdef8e0dad94
  42de1372_5ffc_33b5_49ba_958b59b48626["validIpV4ToBytes()"]
  42de1372_5ffc_33b5_49ba_958b59b48626 -->|calls| 6014483a_62f5_4508_e69f_057f3f95b77e
  4c9a35ab_d065_5ca2_2cf8_4b2cbab53185["decimalDigit()"]
  6014483a_62f5_4508_e69f_057f3f95b77e -->|calls| 4c9a35ab_d065_5ca2_2cf8_4b2cbab53185
  style 6014483a_62f5_4508_e69f_057f3f95b77e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/NetUtil.java lines 363–375

    private static byte ipv4WordToByte(String ip, int from, int toExclusive) {
        int ret = decimalDigit(ip, from);
        from++;
        if (from == toExclusive) {
            return (byte) ret;
        }
        ret = ret * 10 + decimalDigit(ip, from);
        from++;
        if (from == toExclusive) {
            return (byte) ret;
        }
        return (byte) (ret * 10 + decimalDigit(ip, from));
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does ipv4WordToByte() do?
ipv4WordToByte() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/NetUtil.java.
Where is ipv4WordToByte() defined?
ipv4WordToByte() is defined in common/src/main/java/io/netty/util/NetUtil.java at line 363.
What does ipv4WordToByte() call?
ipv4WordToByte() calls 1 function(s): decimalDigit.
What calls ipv4WordToByte()?
ipv4WordToByte() is called by 1 function(s): validIpV4ToBytes.

Analyze Your Own Codebase

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

Try Supermodel Free