private void readTid(@NotNull WireIn metaDataWire) {
   ValueIn valueIn = metaDataWire.readEventName(eventName);
   if (CoreFields.tid.contentEquals(eventName)) {
     tid = valueIn.int64();
     eventName.setLength(0);
   } else tid = -1;
 }
 private C collectionFromWire() {
   C c = factory.get();
   @SuppressWarnings("ConstantConditions")
   final ValueIn valueIn = ((Wire) outWire).getValueIn();
   while (valueIn.hasNextSequenceItem()) {
     c.add(fromWire.apply(valueIn));
   }
   return c;
 }
  /** peeks the csp or if it has a cid converts the cid into a Csp and returns that */
  private void readCsp(@NotNull final WireIn wireIn) {
    final StringBuilder keyName = Wires.acquireStringBuilder();

    cspText.setLength(0);
    final ValueIn read = wireIn.readEventName(keyName);
    if (csp.contentEquals(keyName)) {
      read.textTo(cspText);

    } else if (cid.contentEquals(keyName)) {
      final long cid = read.int64();
      final CharSequence s = mapWireHandler.getCspForCid(cid);
      cspText.append(s);
    }
  }