public override void ParsePayload(byte[] payloadData, FrameHeader frameHeader) { Ack = (frameHeader.Flags & 0x1) == 0x1; for (var i = 0; i < payloadData.Length; i += 6) { var value = BitConverter.ToUInt32(payloadData, i + 2); switch (value) { case 0x1: HeaderTableSize = value; break; case 0x2: EnablePush = value == 1; break; case 0x3: MaxConcurrentStreams = value; break; case 0x4: InitialWindowSize = value; break; case 0x5: MaxFrameSize = value; break; case 0x6: MaxHeaderListSize = value; break; } } }