public byte[] Export(string fmt) { byte[] bytes = StructConverter.Pack(Cmd.Cast <object>().ToArray(), true, out string internalFmt); if (internalFmt != fmt) { throw new System.Exception("FK"); } return(bytes); }
public string Format() { string fmt = ""; foreach (object obj in Parameters) { fmt += StructConverter.GetFormatSpecifierFor(obj); } return(fmt); }