getCityBytes() — netty Function Reference
Architecture documentation for the getCityBytes() function in WorldClockProtocol.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 681146d9_d8d4_0539_1fd6_19c9979da70a["getCityBytes()"] 3808a59c_3ef0_ac24_5d82_0460a0bd58e5["Location"] 681146d9_d8d4_0539_1fd6_19c9979da70a -->|defined in| 3808a59c_3ef0_ac24_5d82_0460a0bd58e5 bd48acc4_23a6_d557_1436_d6abcb3a37bf["getCityBytes()"] bd48acc4_23a6_d557_1436_d6abcb3a37bf -->|calls| 681146d9_d8d4_0539_1fd6_19c9979da70a 9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8["writeTo()"] 9fcb9f5c_9d02_e3de_3ffb_6530047ac3b8 -->|calls| 681146d9_d8d4_0539_1fd6_19c9979da70a 75754b34_e66a_1150_25c6_98a9f835ad0f["getSerializedSize()"] 75754b34_e66a_1150_25c6_98a9f835ad0f -->|calls| 681146d9_d8d4_0539_1fd6_19c9979da70a bd48acc4_23a6_d557_1436_d6abcb3a37bf["getCityBytes()"] 681146d9_d8d4_0539_1fd6_19c9979da70a -->|calls| bd48acc4_23a6_d557_1436_d6abcb3a37bf style 681146d9_d8d4_0539_1fd6_19c9979da70a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java lines 515–528
@Override
public com.google.protobuf.ByteString
getCityBytes() {
java.lang.Object ref = city_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
city_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does getCityBytes() do?
getCityBytes() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java.
Where is getCityBytes() defined?
getCityBytes() is defined in example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java at line 515.
What does getCityBytes() call?
getCityBytes() calls 1 function(s): getCityBytes.
What calls getCityBytes()?
getCityBytes() is called by 3 function(s): getCityBytes, getSerializedSize, writeTo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free