private static String getCachedString(byte[] serializedBytes) {
    ByteArrayKey key = new ByteArrayKey(serializedBytes);
    String result = CACHED_STRINGS.get(key);
    if (result == null) {
      result = CacheServerHelper.fromUTF(serializedBytes);
      CACHED_STRINGS.put(key, result);
    }
    return result;
  }
Return the length of the part. The length is the number of bytes needed for its serialized
form.
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/Part.java