docs: public static byte[] toBytes(ServerStats stats) {
      // Should this be optimized to not include invalid values?
  
      ByteBuffer bb = ByteBuffer.allocate(ServerStatsFieldEnums.getTotalSize() + 1);
      bb.order(ByteOrder.LITTLE_ENDIAN);
  
      // put version
      bb.put(CURRENT_VERSION);
  
      bb.put((byte) ServerStatsFieldEnums.Id.SERVER_STATS_LB_LATENCY_ID.value());
      bb.putLong(stats.getLbLatencyNs());
  
      bb.put((byte) ServerStatsFieldEnums.Id.SERVER_STATS_SERVICE_LATENCY_ID.value());
      bb.putLong(stats.getServiceLatencyNs());
  
      bb.put((byte) ServerStatsFieldEnums.Id.SERVER_STATS_TRACE_OPTION_ID.value());
      bb.put(stats.getTraceOption());
      return bb.array();
    }