Serialize() public method

Serializes AUX_PERF_DEFMDB_SUCCESS to a byte array
public Serialize ( ) : byte[]
return byte[]
コード例 #1
0
        /// <summary>
        /// Composes buffer for AUX_PERF_DEFMDB_SUCCESS, refer to the definition of AUX_PERF_DEFMDB_SUCCESS in this Open Specification
        /// </summary>
        /// <param name="reserved">Value for Reserved field in AUX_PERF_DEFMDB_SUCCESS</param>
        /// <returns>The byte array contains the AUX_PERF_DEFMDB_SUCCESS</returns>
        public static byte[] Compose_AUX_PERF_DEFMDB_SUCCESS(int reserved)
        {
            AUX_PERF_DEFMDB_SUCCESS aux_perf_defmdbsuccess = new AUX_PERF_DEFMDB_SUCCESS
            {
                Reserved = (short)reserved
            };

            return(aux_perf_defmdbsuccess.Serialize());
        }
コード例 #2
0
 /// <summary>
 /// Composes buffer for AUX_PERF_DEFMDB_SUCCESS, refer to the definition of AUX_PERF_DEFMDB_SUCCESS in this Open Specification
 /// </summary>
 /// <param name="reserved">Value for Reserved field in AUX_PERF_DEFMDB_SUCCESS</param>
 /// <returns>The byte array contains the AUX_PERF_DEFMDB_SUCCESS</returns>
 public static byte[] Compose_AUX_PERF_DEFMDB_SUCCESS(int reserved)
 {
     AUX_PERF_DEFMDB_SUCCESS aux_perf_defmdbsuccess = new AUX_PERF_DEFMDB_SUCCESS
     {
         Reserved = (short)reserved
     };
     return aux_perf_defmdbsuccess.Serialize();
 }