Home / Function/ testParseMacEUI48ToEUI64() — netty Function Reference

testParseMacEUI48ToEUI64() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/MacAddressUtilTest.java lines 90–97

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free