Ejemplo n.º 1
0
        /// <summary>
        /// Extract verification_trailer from stub.
        /// </summary>
        /// <param name="startIndex">
        /// Input: The position of the end of stub (the beginning position to search for verification_trailer).
        /// Output: The start position of verification_trailer.
        /// </param>
        /// <returns>Returns verification_trailer if found; otherwise, returns null.</returns>
        public verification_trailer_t ExtractVerificationTrailerFromStub(ref int startIndex)
        {
            if (stub == null)
            {
                //No stub, no verification_trailer.
                return(null);
            }

            return(RpceUtility.ExtractVerificationTrailerFromStub(stub, ref startIndex));
        }