public static Int32 GetSeqNo(StreamBuffer source) { if (source.BufferSize < HeaderSize) return -1; return source.GetInt32(Packet.HeaderSize); }