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; }
/** 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); } }