/// <summary>
 /// Auto-generated serialization/write method.
 /// Partial method implemented from shared partial definition.
 /// </summary>
 /// <param name="value">See external doc.</param>
 /// <param name="buffer">See external doc.</param>
 /// <param name="offset">See external doc.</param>
 public override void InternalWrite(OpenGenericVector <Byte> value, Span <byte> buffer, ref int offset)
 {
     //Type: OpenGenericVector Field: 1 Name: Value1 Type: Byte;
     BytePrimitiveSerializerStrategy.Instance.Write(value.Value1, buffer, ref offset);
     //Type: OpenGenericVector Field: 2 Name: Value2 Type: Byte;
     BytePrimitiveSerializerStrategy.Instance.Write(value.Value2, buffer, ref offset);
 }
Exemplo n.º 2
0
        /// <summary>
        /// Auto-generated deserialization/read method.
        /// Partial method implemented from shared partial definition.
        /// </summary>
        /// <param name="value">See external doc.</param>
        /// <param name="buffer">See external doc.</param>
        /// <param name="offset">See external doc.</param>
        public override void InternalRead(OpenGenericVector <Int32> value, Span <byte> buffer, ref int offset)
        {
            //Type: OpenGenericVector Field: 1 Name: Value1 Type: Int32;
            value.Value1 = GenericTypePrimitiveSerializerStrategy <Int32> .Instance.Read(buffer, ref offset);

            //Type: OpenGenericVector Field: 2 Name: Value2 Type: Int32;
            value.Value2 = GenericTypePrimitiveSerializerStrategy <Int32> .Instance.Read(buffer, ref offset);
        }