public static int Read(byte[] buf, int c, Heartbeat hb) { hb.SequenceNum = BitConverter.ToUInt32(buf, 0); c += 4; return c; }