Setting decode(int v) { receipt = (v >> 7 & 0x01); topic = (v >> 3 & 0x01); stream = (v >> 2 & 0x001); return this; }