Home / Function/ encodePasswordAuthRequest() — netty Function Reference

encodePasswordAuthRequest() — netty Function Reference

Architecture documentation for the encodePasswordAuthRequest() function in Socks5ClientEncoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  34b7b878_7aca_f110_2f0d_ffa8fb361e0a["encodePasswordAuthRequest()"]
  38438508_6164_1fbb_2974_832cc944b4c7["Socks5ClientEncoder"]
  34b7b878_7aca_f110_2f0d_ffa8fb361e0a -->|defined in| 38438508_6164_1fbb_2974_832cc944b4c7
  7cc5b5cc_17e1_f6ca_091c_89fabe99b164["encode()"]
  7cc5b5cc_17e1_f6ca_091c_89fabe99b164 -->|calls| 34b7b878_7aca_f110_2f0d_ffa8fb361e0a
  style 34b7b878_7aca_f110_2f0d_ffa8fb361e0a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5ClientEncoder.java lines 96–106

    private static void encodePasswordAuthRequest(Socks5PasswordAuthRequest msg, ByteBuf out) {
        out.writeByte(0x01);

        final String username = msg.username();
        out.writeByte(username.length());
        ByteBufUtil.writeAscii(out, username);

        final String password = msg.password();
        out.writeByte(password.length());
        ByteBufUtil.writeAscii(out, password);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does encodePasswordAuthRequest() do?
encodePasswordAuthRequest() is a function in the netty codebase, defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5ClientEncoder.java.
Where is encodePasswordAuthRequest() defined?
encodePasswordAuthRequest() is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5ClientEncoder.java at line 96.
What calls encodePasswordAuthRequest()?
encodePasswordAuthRequest() is called by 1 function(s): encode.

Analyze Your Own Codebase

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

Try Supermodel Free