コード例 #1
0
            internal override object GetDeserializeValue(MyStream stream)
            {
                byte  arrayLength = stream.ReadByte();
                Array array       = Array.CreateInstance(elementType, arrayLength);

                for (int i = 0; i < arrayLength; i++)
                {
                    array.SetValue(SerializeControl.Instance._Deserialize(stream, elementType), i);
                }
                return(array);
            }
コード例 #2
0
 internal override object GetDeserializeValue(MyStream stream)
 {
     return(stream.ReadByte());
 }