Home / Function/ testParseMacMAC48ToEUI64() — netty Function Reference

testParseMacMAC48ToEUI64() — netty Function Reference

Architecture documentation for the testParseMacMAC48ToEUI64() function in MacAddressUtilTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5a8b42f8_351e_ab94_799d_3e783426c3ae["testParseMacMAC48ToEUI64()"]
  1b384915_b7eb_7a58_649b_38b1444221ff["MacAddressUtilTest"]
  5a8b42f8_351e_ab94_799d_3e783426c3ae -->|defined in| 1b384915_b7eb_7a58_649b_38b1444221ff
  style 5a8b42f8_351e_ab94_799d_3e783426c3ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/MacAddressUtilTest.java lines 81–88

    @Test
    public void testParseMacMAC48ToEUI64() {
        // MAC-48 into an EUI-64
        assertArrayEquals(new byte[]{0, (byte) 0xaa, 0x11, (byte) 0xff, (byte) 0xff, (byte) 0xbb, 0x22, (byte) 0xcc},
                parseMAC("00-AA-11-FF-FF-BB-22-CC"));
        assertArrayEquals(new byte[]{0, (byte) 0xaa, 0x11, (byte) 0xff, (byte) 0xff, (byte) 0xbb, 0x22, (byte) 0xcc},
                parseMAC("00:AA:11:FF:FF:BB:22:CC"));
    }

Domain

Subdomains

Frequently Asked Questions

What does testParseMacMAC48ToEUI64() do?
testParseMacMAC48ToEUI64() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/MacAddressUtilTest.java.
Where is testParseMacMAC48ToEUI64() defined?
testParseMacMAC48ToEUI64() is defined in common/src/test/java/io/netty/util/internal/MacAddressUtilTest.java at line 81.

Analyze Your Own Codebase

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

Try Supermodel Free