Home / Function/ writeTo() — netty Function Reference

writeTo() — netty Function Reference

Architecture documentation for the writeTo() function in WorldClockProtocol.java from the netty codebase.

Function java Buffer Telemetry calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  ff53a464_9d91_8267_dbf3_b87fc2262f28["writeTo()"]
  97830d5b_e8a9_e198_3dc6_06ad84acece5["LocalTime"]
  ff53a464_9d91_8267_dbf3_b87fc2262f28 -->|defined in| 97830d5b_e8a9_e198_3dc6_06ad84acece5
  9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8["writeTo()"]
  9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8 -->|calls| ff53a464_9d91_8267_dbf3_b87fc2262f28
  789a178a_a83b_b94d_ac36_909b27f26a8b["writeTo()"]
  ff53a464_9d91_8267_dbf3_b87fc2262f28 -->|calls| 789a178a_a83b_b94d_ac36_909b27f26a8b
  34b5d7c3_fd66_0f6f_505a_6ded711e08c7["getSerializedSize()"]
  ff53a464_9d91_8267_dbf3_b87fc2262f28 -->|calls| 34b5d7c3_fd66_0f6f_505a_6ded711e08c7
  2698b468_42bf_fb10_7a6b_868579464bd9["getUnknownFields()"]
  ff53a464_9d91_8267_dbf3_b87fc2262f28 -->|calls| 2698b468_42bf_fb10_7a6b_868579464bd9
  style ff53a464_9d91_8267_dbf3_b87fc2262f28 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java lines 2016–2042

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeUInt32(1, year_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeUInt32(2, month_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeUInt32(4, dayOfMonth_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeEnum(5, dayOfWeek_.getNumber());
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        output.writeUInt32(6, hour_);
      }
      if (((bitField0_ & 0x00000020) == 0x00000020)) {
        output.writeUInt32(7, minute_);
      }
      if (((bitField0_ & 0x00000040) == 0x00000040)) {
        output.writeUInt32(8, second_);
      }
      getUnknownFields().writeTo(output);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does writeTo() do?
writeTo() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java.
Where is writeTo() defined?
writeTo() is defined in example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java at line 2016.
What does writeTo() call?
writeTo() calls 3 function(s): getSerializedSize, getUnknownFields, writeTo.
What calls writeTo()?
writeTo() is called by 1 function(s): writeTo.

Analyze Your Own Codebase

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

Try Supermodel Free