// protected override bool _Deserialize(CSLib.Utility.CStream stream) { base._Deserialize(stream); stream.Read(ref m_Buf); stream.Read(ref m_Result); return(true); }
//可传送所有CStream中所列类型,需注意传送byte[]类型前4字节为数组长度,传送DateTime,decimal类型时C++没有相应的类型接受,必须在C++端自行处理 protected override bool _Deserialize(CSLib.Utility.CStream stream) { stream.Read(ref m_bool); stream.Read(ref m_byte); stream.Read(ref m_bytes); stream.Read(ref m_double); stream.Read(ref m_float); stream.Read(ref m_int); stream.Read(ref m_long); stream.Read(ref m_short); stream.Read(ref m_string); stream.Read(ref m_uint); stream.Read(ref m_ulong); stream.Read(ref m_ushort); return(true); }