Home / Function/ read() — netty Function Reference

read() — netty Function Reference

Architecture documentation for the read() function in LimitingByteInput.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1019e723_9db7_b296_4ef1_8d016a42b837["read()"]
  c5c36d29_ecd9_7704_2f67_15ca8292c82e["LimitingByteInput"]
  1019e723_9db7_b296_4ef1_8d016a42b837 -->|defined in| c5c36d29_ecd9_7704_2f67_15ca8292c82e
  f09b7189_d7e1_d0fd_7d5d_feea5a427b8b["readable()"]
  1019e723_9db7_b296_4ef1_8d016a42b837 -->|calls| f09b7189_d7e1_d0fd_7d5d_feea5a427b8b
  style 1019e723_9db7_b296_4ef1_8d016a42b837 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/LimitingByteInput.java lines 52–62

    @Override
    public int read() throws IOException {
        int readable = readable(1);
        if (readable > 0) {
            int b = input.read();
            read++;
            return b;
        } else {
            throw EXCEPTION;
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does read() do?
read() is a function in the netty codebase, defined in codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/LimitingByteInput.java.
Where is read() defined?
read() is defined in codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/LimitingByteInput.java at line 52.
What does read() call?
read() calls 1 function(s): readable.

Analyze Your Own Codebase

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

Try Supermodel Free