private byte[] TypeToHeader(Type t) { int num = m_protocolNum[t.ToString()]; return(BitConvert.ToBytes((ushort)num)); }