327 return value.ToSqlBinary();
338 if (
length >=
int.MaxValue)
377 string attribute =
r.GetAttribute(
"nil",
"http://www.w3.org/2001/XMLSchema-instance");
380 r.ReadElementString();
385 string text =
r.ReadElementString();
403 writer.WriteAttributeString(
"xsi",
"nil",
"http://www.w3.org/2001/XMLSchema-instance",
"true");
412 return new XmlQualifiedName(
"base64Binary",
"http://www.w3.org/2001/XMLSchema");
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
static string ToBase64String(byte[] inArray)
static unsafe byte[] FromBase64String(string s)
void SetBuffer(byte[] buffer)
void SetLength(long value)
SqlBytes(SqlBinary value)
void CopyStreamToBuffer()
void Write(long offset, byte[] buffer, int offsetInBuffer, int count)
static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet)
long Read(long offset, byte[] buffer, int offsetInBuffer, int count)
SqlBytesCharsState _state
void SetLength(long value)
long Seek(long offset, SeekOrigin origin)
int Read(byte[] buffer, int offset, int count)
void Write(byte[] buffer, int offset, int count)
static readonly Stream Null
static string SqlMisc_BufferInsufficientMessage
static string SqlMisc_NoBufferMessage
static string SqlMisc_WriteNonZeroOffsetOnNullMessage
static string SqlMisc_WriteOffsetLargerThanLenMessage
static bool ToBoolean(string s)
void GetObjectData(SerializationInfo info, StreamingContext context)
void WriteXml(XmlWriter writer)
void ReadXml(XmlReader reader)
static readonly SqlBinary Null