Home / Function/ writeTo() — netty Function Reference

writeTo() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8["writeTo()"]
  3808a59c_3ef0_ac24_5d82_0460a0bd58e5["Location"]
  9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8 -->|defined in| 3808a59c_3ef0_ac24_5d82_0460a0bd58e5
  681146d9_d8d4_0539_1fd6_19c9979da70a["getCityBytes()"]
  9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8 -->|calls| 681146d9_d8d4_0539_1fd6_19c9979da70a
  ff53a464_9d91_8267_dbf3_b87fc2262f28["writeTo()"]
  9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8 -->|calls| ff53a464_9d91_8267_dbf3_b87fc2262f28
  75754b34_e66a_1150_25c6_98a9f835ad0f["getSerializedSize()"]
  9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8 -->|calls| 75754b34_e66a_1150_25c6_98a9f835ad0f
  e35474a5_d5e3_58b5_4f25_683b43114f69["getUnknownFields()"]
  9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8 -->|calls| e35474a5_d5e3_58b5_4f25_683b43114f69
  style 9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java lines 552–563

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeEnum(1, continent_.getNumber());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeBytes(2, getCityBytes());
      }
      getUnknownFields().writeTo(output);
    }

Domain

Subdomains

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 552.
What does writeTo() call?
writeTo() calls 4 function(s): getCityBytes, getSerializedSize, getUnknownFields, writeTo.

Analyze Your Own Codebase

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

Try Supermodel Free