Home / Function/ testDecodeString() — netty Function Reference

testDecodeString() — netty Function Reference

Architecture documentation for the testDecodeString() function in ByteBufUtilTest.java from the netty codebase.

Function java Buffer Search called by 2

Entity Profile

Dependency Diagram

graph TD
  ef1493e7_8b42_07ad_e52d_35fbe2b507a7["testDecodeString()"]
  1b32157c_4c5c_4c3c_706b_1a74a9afdca7["ByteBufUtilTest"]
  ef1493e7_8b42_07ad_e52d_35fbe2b507a7 -->|defined in| 1b32157c_4c5c_4c3c_706b_1a74a9afdca7
  d449044d_2813_f3d4_d8f4_809d21ea1fd6["testDecodeUsAscii()"]
  d449044d_2813_f3d4_d8f4_809d21ea1fd6 -->|calls| ef1493e7_8b42_07ad_e52d_35fbe2b507a7
  9ec0bddc_6067_f4e8_ce58_52aa2244f9a2["testDecodeUtf8()"]
  9ec0bddc_6067_f4e8_ce58_52aa2244f9a2 -->|calls| ef1493e7_8b42_07ad_e52d_35fbe2b507a7
  style ef1493e7_8b42_07ad_e52d_35fbe2b507a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java lines 837–841

    private static void testDecodeString(String text, Charset charset) {
        ByteBuf buffer = Unpooled.copiedBuffer(text, charset);
        assertEquals(text, ByteBufUtil.decodeString(buffer, 0, buffer.readableBytes(), charset));
        buffer.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does testDecodeString() do?
testDecodeString() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java.
Where is testDecodeString() defined?
testDecodeString() is defined in buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java at line 837.
What calls testDecodeString()?
testDecodeString() is called by 2 function(s): testDecodeUsAscii, testDecodeUtf8.

Analyze Your Own Codebase

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

Try Supermodel Free