Home / Function/ getCityBytes() — netty Function Reference

getCityBytes() — netty Function Reference

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

Function java Buffer Search calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  bd48acc4_23a6_d557_1436_d6abcb3a37bf["getCityBytes()"]
  d14d3f3f_ddf6_f864_b1be_5eccb64e18ed["Builder"]
  bd48acc4_23a6_d557_1436_d6abcb3a37bf -->|defined in| d14d3f3f_ddf6_f864_b1be_5eccb64e18ed
  681146d9_d8d4_0539_1fd6_19c9979da70a["getCityBytes()"]
  681146d9_d8d4_0539_1fd6_19c9979da70a -->|calls| bd48acc4_23a6_d557_1436_d6abcb3a37bf
  681146d9_d8d4_0539_1fd6_19c9979da70a["getCityBytes()"]
  bd48acc4_23a6_d557_1436_d6abcb3a37bf -->|calls| 681146d9_d8d4_0539_1fd6_19c9979da70a
  style bd48acc4_23a6_d557_1436_d6abcb3a37bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java lines 870–883

      @Override
      public com.google.protobuf.ByteString
          getCityBytes() {
        java.lang.Object ref = city_;
        if (ref instanceof 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

Called By

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 870.
What does getCityBytes() call?
getCityBytes() calls 1 function(s): getCityBytes.
What calls getCityBytes()?
getCityBytes() is called by 1 function(s): getCityBytes.

Analyze Your Own Codebase

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

Try Supermodel Free