2 // System.Data.SqlTypes.SqlBytes
5 // Tim Coleman <tim@timcoleman.com>
7 // Copyright (C) Tim Coleman, 2003
13 using System.Globalization;
16 using System.Xml.Schema;
17 using System.Xml.Serialization;
19 namespace System.Data.SqlTypes
22 public sealed class SqlBytes : INullable, IXmlSerializable
33 public SqlBytes (byte[] buffer)
39 public SqlBytes (SqlBinary value)
45 public SqlBytes (Stream s)
51 public SqlBytes (IntPtr buffer, long length)
61 get { return !notNull; }
69 XmlSchema IXmlSerializable.GetSchema ()
71 throw new NotImplementedException ();
75 void IXmlSerializable.ReadXml (XmlReader reader)
77 throw new NotImplementedException ();
81 void IXmlSerializable.WriteXml (XmlWriter writer)
83 throw new NotImplementedException ();