Serialize() публичный Метод

Serializes AUX_PERF_ACCOUNTINFO to a byte array
public Serialize ( ) : byte[]
Результат byte[]
Пример #1
0
        /// <summary>
        /// Compose buffer for AUX_PERF_ACCOUNTINFO, refer to the definition of AUX_PERF_ACCOUNTINFO
        /// </summary>
        /// <param name="reserved">Value for Reserved field in AUX_PERF_ACCOUNTINFO</param>
        /// <returns>The byte array contains the AUX_PERF_ACCOUNTINFO</returns>
        public static byte[] Compose_AUX_PERF_ACCOUNTINFO(int reserved)
        {
            AUX_PERF_ACCOUNTINFO aux_perf_accountinfo = new AUX_PERF_ACCOUNTINFO
            {
                Reserved = (short)reserved
            };

            return(aux_perf_accountinfo.Serialize());
        }
Пример #2
0
 /// <summary>
 /// Compose buffer for AUX_PERF_ACCOUNTINFO, refer to the definition of AUX_PERF_ACCOUNTINFO 
 /// </summary>
 /// <param name="reserved">Value for Reserved field in AUX_PERF_ACCOUNTINFO</param>
 /// <returns>The byte array contains the AUX_PERF_ACCOUNTINFO</returns>
 public static byte[] Compose_AUX_PERF_ACCOUNTINFO(int reserved)
 {
     AUX_PERF_ACCOUNTINFO aux_perf_accountinfo = new AUX_PERF_ACCOUNTINFO
     {
         Reserved = (short)reserved
     };
     return aux_perf_accountinfo.Serialize();
 }