Home / Function/ validateMacSeparator() — netty Function Reference

validateMacSeparator() — netty Function Reference

Architecture documentation for the validateMacSeparator() function in MacAddressUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5362bac4_444d_c013_8aa9_3e9edb8ab4ee["validateMacSeparator()"]
  a4685b43_b51c_914d_456a_1efa65aff7a6["MacAddressUtil"]
  5362bac4_444d_c013_8aa9_3e9edb8ab4ee -->|defined in| a4685b43_b51c_914d_456a_1efa65aff7a6
  305a02f9_0c0f_c367_f9d6_4e47f4b9319e["parseMAC()"]
  305a02f9_0c0f_c367_f9d6_4e47f4b9319e -->|calls| 5362bac4_444d_c013_8aa9_3e9edb8ab4ee
  style 5362bac4_444d_c013_8aa9_3e9edb8ab4ee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/MacAddressUtil.java lines 180–184

    private static void validateMacSeparator(char separator) {
        if (separator != ':' && separator != '-') {
            throw new IllegalArgumentException("unsupported separator: " + separator + " (expected: [:-])");
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does validateMacSeparator() do?
validateMacSeparator() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/MacAddressUtil.java.
Where is validateMacSeparator() defined?
validateMacSeparator() is defined in common/src/main/java/io/netty/util/internal/MacAddressUtil.java at line 180.
What calls validateMacSeparator()?
validateMacSeparator() is called by 1 function(s): parseMAC.

Analyze Your Own Codebase

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

Try Supermodel Free