Home / Function/ writeUTF() — netty Function Reference

writeUTF() — netty Function Reference

Architecture documentation for the writeUTF() function in ByteBufOutputStream.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  fc008271_aedb_7c3a_9d98_eb5935e3c720["writeUTF()"]
  b0f015ed_c496_fa06_0ae3_0f347b86e7ca["ByteBufOutputStream"]
  fc008271_aedb_7c3a_9d98_eb5935e3c720 -->|defined in| b0f015ed_c496_fa06_0ae3_0f347b86e7ca
  53b08c34_676f_1765_b197_a10140de71e0["close()"]
  fc008271_aedb_7c3a_9d98_eb5935e3c720 -->|calls| 53b08c34_676f_1765_b197_a10140de71e0
  style fc008271_aedb_7c3a_9d98_eb5935e3c720 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/ByteBufOutputStream.java lines 150–161

    @Override
    public void writeUTF(String s) throws IOException {
        DataOutputStream out = utf8out;
        if (out == null) {
            if (closed) {
                throw new IOException("The stream is closed");
            }
            // Suppress a warning since the stream is closed in the close() method
            utf8out = out = new DataOutputStream(this);
        }
        out.writeUTF(s);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does writeUTF() do?
writeUTF() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/ByteBufOutputStream.java.
Where is writeUTF() defined?
writeUTF() is defined in buffer/src/main/java/io/netty/buffer/ByteBufOutputStream.java at line 150.
What does writeUTF() call?
writeUTF() calls 1 function(s): close.

Analyze Your Own Codebase

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

Try Supermodel Free