Пример #1
0
        private void Compress(Stream objStream)
        {
            using (BinaryWriterExtension objBinaryWriter = new BinaryWriterExtension(objStream))
            {
                Type objType = this.GetType();

                objBinaryWriter.Write(RemotableSignature);
                objBinaryWriter.Write(objType.Assembly.FullName);
                objBinaryWriter.Write(objType.FullName);

                this.WriteData(objBinaryWriter);
                objBinaryWriter.Flush();
            }
        }