Example #1
0
        /// <summary>
        /// εΊεˆ—εŒ–
        /// </summary>
        /// <param name="stream"></param>
        internal unsafe void SerializeOperationParameter(UnmanagedStream stream)
        {
            OperationParameter.Serializer operationSerializer = new OperationParameter.Serializer(stream);
            Identity.UnsafeSerialize(stream);

            fixed(char *nameFixed = CacheName) AutoCSer.BinarySerializer.Serialize(nameFixed, stream, CacheName.Length);

            int startIndex = stream.Data.CurrentIndex;

            valueNode.SerializeDataStructure(stream);
            stream.Data.SerializeFillWithStartIndex(startIndex);
            operationSerializer.End(OperationParameter.OperationType.GetOrCreateDataStructure);
        }