IBinarySerialize.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //------------------------------------------------------------------------------
  2. // <copyright file="IBinarySerialize.cs" company="Microsoft Corporation">
  3. // Copyright (c) Microsoft Corporation. All Rights Reserved.
  4. // Information Contained Herein is Proprietary and Confidential.
  5. // </copyright>
  6. // <owner current="true" primary="true">[....]</owner>
  7. // <owner current="true" primary="true">[....]</owner>
  8. // <owner current="true" primary="true">daltudov</owner>
  9. // <owner current="true" primary="true">[....]</owner>
  10. // <owner current="true" primary="false">beysims</owner>
  11. // <owner current="true" primary="false">[....]</owner>
  12. // <owner current="true" primary="false">vadimt</owner>
  13. //------------------------------------------------------------------------------
  14. using System;
  15. using System.Collections;
  16. using System.Text;
  17. using System.IO;
  18. using System.Reflection;
  19. using System.Runtime.InteropServices;
  20. using System.Runtime.Serialization;
  21. using System.Runtime.Serialization.Formatters.Binary;
  22. using System.Reflection.Emit;
  23. using System.Data.SqlTypes;
  24. namespace Microsoft.SqlServer.Server {
  25. // This interface is used by types that want full control over the
  26. // binary serialization format.
  27. public interface IBinarySerialize {
  28. // Read from the specified binary reader.
  29. void Read(BinaryReader r);
  30. // Write to the specified binary writer.
  31. void Write(BinaryWriter w);
  32. }
  33. }