Home / Function/ closeStream() — netty Function Reference

closeStream() — netty Function Reference

Architecture documentation for the closeStream() function in Utf8EncodingBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8672ad76_2f39_d763_6d37_66647a40d806["closeStream()"]
  14a7a416_5aef_2dc8_262c_52585d9f0cac["Utf8EncodingBenchmark"]
  8672ad76_2f39_d763_6d37_66647a40d806 -->|defined in| 14a7a416_5aef_2dc8_262c_52585d9f0cac
  style 8672ad76_2f39_d763_6d37_66647a40d806 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java lines 124–132

    private static void closeStream(InputStream inStream) {
        if (inStream != null) {
            try {
                inStream.close();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does closeStream() do?
closeStream() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java.
Where is closeStream() defined?
closeStream() is defined in microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java at line 124.

Analyze Your Own Codebase

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

Try Supermodel Free