C# Class System.Xml.XmlBufferReader

Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Advance ( int count ) : void
Close ( ) : void
Compare ( int offset1, int length1, int offset2, int length2 ) : int
Equals2 ( int key1, XmlDictionaryString xmlString2 ) : bool
Equals2 ( int key1, int key2, XmlBufferReader bufferReader2 ) : bool
Equals2 ( int offset1, int length1, XmlBufferReader bufferReader2, int offset2, int length2 ) : bool
Equals2 ( int offset1, int length1, byte buffer2 ) : bool
Equals2 ( int offset1, int length1, int offset2, int length2 ) : bool
Equals2 ( int offset1, int length1, string s2 ) : bool
GetBase64 ( int srcOffset, byte buffer, int dstOffset, int count ) : void
GetBuffer ( int count, int &offset ) : byte[]
GetBuffer ( int count, int &offset, int &offsetMax ) : byte[]
GetByte ( ) : byte
GetByte ( int offset ) : byte
GetCharEntity ( int offset, int length ) : int
GetDecimal ( int offset ) : decimal
GetDictionaryString ( int key ) : XmlDictionaryString
GetDouble ( int offset ) : double
GetEscapedChars ( int offset, int length, char chars ) : int
GetEscapedString ( int offset, int length ) : string
GetEscapedString ( int offset, int length, XmlNameTable nameTable ) : string
GetGuid ( int offset ) : System.Guid
GetInt16 ( int offset ) : int
GetInt32 ( int offset ) : int
GetInt64 ( int offset ) : long
GetInt8 ( int offset ) : int
GetList ( int offset, int count ) : object[]
GetNodeType ( ) : XmlBinaryNodeType
GetRows ( ) : int[]
GetSingle ( int offset ) : float
GetString ( int offset, int length ) : string
GetString ( int offset, int length, XmlNameTable nameTable ) : string
GetUInt64 ( int offset ) : ulong
GetUnicodeString ( int offset, int length ) : string
GetUniqueId ( int offset ) : UniqueId
InsertBytes ( byte buffer, int offset, int count ) : void
IsWhitespaceKey ( int key ) : bool
IsWhitespaceUTF8 ( int offset, int length ) : bool
IsWhitespaceUnicode ( int offset, int length ) : bool
ReadBytes ( int count ) : int
ReadDateTime ( ) : System.DateTime
ReadDecimal ( ) : decimal
ReadDictionaryKey ( ) : int
ReadDouble ( ) : double
ReadGuid ( ) : System.Guid
ReadInt16 ( ) : int
ReadInt32 ( ) : int
ReadInt64 ( ) : long
ReadInt8 ( ) : int
ReadMultiByteUInt31 ( ) : int
ReadQName ( System.Xml.ValueHandle value ) : void
ReadSingle ( ) : float
ReadTimeSpan ( ) : System.TimeSpan
ReadUInt16 ( ) : int
ReadUInt31 ( ) : int
ReadUInt8 ( ) : int
ReadUTF8String ( int length ) : string
ReadUniqueId ( ) : UniqueId
ReadValue ( XmlBinaryNodeType nodeType, System.Xml.ValueHandle value ) : void
SetBuffer ( Stream stream, IXmlDictionary dictionary, XmlBinaryReaderSession session ) : void
SetBuffer ( byte buffer, int offset, int count, IXmlDictionary dictionary, XmlBinaryReaderSession session ) : void
SetWindow ( int windowOffset, int windowLength ) : void
SkipByte ( ) : void
SkipNodeType ( ) : void
UnsafeReadArray ( byte dst, byte dstMax ) : void
XmlBufferReader ( XmlDictionaryReader reader ) : System
XmlBufferReader ( byte buffer ) : System

Private Methods

Method Description
EnsureByte ( ) : void
EnsureBytes ( int count ) : void
GetAmpersandCharEntity ( int offset, int length ) : int
GetApostropheCharEntity ( int offset, int length ) : int
GetBufferHard ( int count, int &offset ) : byte[]
GetByteHard ( ) : byte
GetCharBuffer ( int count ) : char[]
GetChars ( int offset, int length, char chars ) : int
GetChars ( int offset, int length, char chars, int charOffset ) : int
GetDecimalCharEntity ( int offset, int length ) : int
GetGreaterThanCharEntity ( int offset, int length ) : int
GetHexCharEntity ( int offset, int length ) : int
GetLessThanCharEntity ( int offset, int length ) : int
GetQuoteCharEntity ( int offset, int length ) : int
IsAttrChar ( int ch ) : bool
ReadList ( System.Xml.ValueHandle value ) : void
ReadUnicodeValue ( System.Xml.ValueHandle value, int length ) : void
ReadValue ( System.Xml.ValueHandle value, ValueHandleType type, int length ) : void
SetBuffer ( Stream stream, byte buffer, int offset, int count, IXmlDictionary dictionary, XmlBinaryReaderSession session ) : void
TryEnsureByte ( ) : bool
TryEnsureBytes ( int count ) : bool
UnsafeReadArray ( byte dst, int length ) : void

Method Details

Advance() public method

public Advance ( int count ) : void
count int
return void

Close() public method

public Close ( ) : void
return void

Compare() public method

public Compare ( int offset1, int length1, int offset2, int length2 ) : int
offset1 int
length1 int
offset2 int
length2 int
return int

Equals2() public method

public Equals2 ( int key1, XmlDictionaryString xmlString2 ) : bool
key1 int
xmlString2 XmlDictionaryString
return bool

Equals2() public method

public Equals2 ( int key1, int key2, XmlBufferReader bufferReader2 ) : bool
key1 int
key2 int
bufferReader2 XmlBufferReader
return bool

Equals2() public method

public Equals2 ( int offset1, int length1, XmlBufferReader bufferReader2, int offset2, int length2 ) : bool
offset1 int
length1 int
bufferReader2 XmlBufferReader
offset2 int
length2 int
return bool

Equals2() public method

public Equals2 ( int offset1, int length1, byte buffer2 ) : bool
offset1 int
length1 int
buffer2 byte
return bool

Equals2() public method

public Equals2 ( int offset1, int length1, int offset2, int length2 ) : bool
offset1 int
length1 int
offset2 int
length2 int
return bool

Equals2() public method

public Equals2 ( int offset1, int length1, string s2 ) : bool
offset1 int
length1 int
s2 string
return bool

GetBase64() public method

public GetBase64 ( int srcOffset, byte buffer, int dstOffset, int count ) : void
srcOffset int
buffer byte
dstOffset int
count int
return void

GetBuffer() public method

public GetBuffer ( int count, int &offset ) : byte[]
count int
offset int
return byte[]

GetBuffer() public method

public GetBuffer ( int count, int &offset, int &offsetMax ) : byte[]
count int
offset int
offsetMax int
return byte[]

GetByte() public method

public GetByte ( ) : byte
return byte

GetByte() public method

public GetByte ( int offset ) : byte
offset int
return byte

GetCharEntity() public method

public GetCharEntity ( int offset, int length ) : int
offset int
length int
return int

GetDecimal() public method

public GetDecimal ( int offset ) : decimal
offset int
return decimal

GetDictionaryString() public method

public GetDictionaryString ( int key ) : XmlDictionaryString
key int
return XmlDictionaryString

GetDouble() public method

public GetDouble ( int offset ) : double
offset int
return double

GetEscapedChars() public method

public GetEscapedChars ( int offset, int length, char chars ) : int
offset int
length int
chars char
return int

GetEscapedString() public method

public GetEscapedString ( int offset, int length ) : string
offset int
length int
return string

GetEscapedString() public method

public GetEscapedString ( int offset, int length, XmlNameTable nameTable ) : string
offset int
length int
nameTable XmlNameTable
return string

GetGuid() public method

public GetGuid ( int offset ) : System.Guid
offset int
return System.Guid

GetInt16() public method

public GetInt16 ( int offset ) : int
offset int
return int

GetInt32() public method

public GetInt32 ( int offset ) : int
offset int
return int

GetInt64() public method

public GetInt64 ( int offset ) : long
offset int
return long

GetInt8() public method

public GetInt8 ( int offset ) : int
offset int
return int

GetList() public method

public GetList ( int offset, int count ) : object[]
offset int
count int
return object[]

GetNodeType() public method

public GetNodeType ( ) : XmlBinaryNodeType
return XmlBinaryNodeType

GetRows() public method

public GetRows ( ) : int[]
return int[]

GetSingle() public method

public GetSingle ( int offset ) : float
offset int
return float

GetString() public method

public GetString ( int offset, int length ) : string
offset int
length int
return string

GetString() public method

public GetString ( int offset, int length, XmlNameTable nameTable ) : string
offset int
length int
nameTable XmlNameTable
return string

GetUInt64() public method

public GetUInt64 ( int offset ) : ulong
offset int
return ulong

GetUnicodeString() public method

public GetUnicodeString ( int offset, int length ) : string
offset int
length int
return string

GetUniqueId() public method

public GetUniqueId ( int offset ) : UniqueId
offset int
return UniqueId

InsertBytes() public method

public InsertBytes ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

IsWhitespaceKey() public method

public IsWhitespaceKey ( int key ) : bool
key int
return bool

IsWhitespaceUTF8() public method

public IsWhitespaceUTF8 ( int offset, int length ) : bool
offset int
length int
return bool

IsWhitespaceUnicode() public method

public IsWhitespaceUnicode ( int offset, int length ) : bool
offset int
length int
return bool

ReadBytes() public method

public ReadBytes ( int count ) : int
count int
return int

ReadDateTime() public method

public ReadDateTime ( ) : System.DateTime
return System.DateTime

ReadDecimal() public method

public ReadDecimal ( ) : decimal
return decimal

ReadDictionaryKey() public method

public ReadDictionaryKey ( ) : int
return int

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadGuid() public method

public ReadGuid ( ) : System.Guid
return System.Guid

ReadInt16() public method

public ReadInt16 ( ) : int
return int

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadInt8() public method

public ReadInt8 ( ) : int
return int

ReadMultiByteUInt31() public method

public ReadMultiByteUInt31 ( ) : int
return int

ReadQName() public method

public ReadQName ( System.Xml.ValueHandle value ) : void
value System.Xml.ValueHandle
return void

ReadSingle() public method

public ReadSingle ( ) : float
return float

ReadTimeSpan() public method

public ReadTimeSpan ( ) : System.TimeSpan
return System.TimeSpan

ReadUInt16() public method

public ReadUInt16 ( ) : int
return int

ReadUInt31() public method

public ReadUInt31 ( ) : int
return int

ReadUInt8() public method

public ReadUInt8 ( ) : int
return int

ReadUTF8String() public method

public ReadUTF8String ( int length ) : string
length int
return string

ReadUniqueId() public method

public ReadUniqueId ( ) : UniqueId
return UniqueId

ReadValue() public method

public ReadValue ( XmlBinaryNodeType nodeType, System.Xml.ValueHandle value ) : void
nodeType XmlBinaryNodeType
value System.Xml.ValueHandle
return void

SetBuffer() public method

public SetBuffer ( Stream stream, IXmlDictionary dictionary, XmlBinaryReaderSession session ) : void
stream Stream
dictionary IXmlDictionary
session XmlBinaryReaderSession
return void

SetBuffer() public method

public SetBuffer ( byte buffer, int offset, int count, IXmlDictionary dictionary, XmlBinaryReaderSession session ) : void
buffer byte
offset int
count int
dictionary IXmlDictionary
session XmlBinaryReaderSession
return void

SetWindow() public method

public SetWindow ( int windowOffset, int windowLength ) : void
windowOffset int
windowLength int
return void

SkipByte() public method

public SkipByte ( ) : void
return void

SkipNodeType() public method

public SkipNodeType ( ) : void
return void

UnsafeReadArray() public method

public UnsafeReadArray ( byte dst, byte dstMax ) : void
dst byte
dstMax byte
return void

XmlBufferReader() public method

public XmlBufferReader ( XmlDictionaryReader reader ) : System
reader XmlDictionaryReader
return System

XmlBufferReader() public method

public XmlBufferReader ( byte buffer ) : System
buffer byte
return System