C# Class Cyotek.Data.Nbt.Serialization.XmlTagReader

Inheritance: ITagReader
Mostra file Open project: cyotek/Cyotek.Data.Nbt Class Usage Examples

Public Methods

Method Description
IsNbtDocument ( Stream stream ) : bool
ReadByte ( ) : byte
ReadByteArray ( ) : byte[]
ReadCollection ( TagList owner ) : TagCollection
ReadDictionary ( TagCompound owner ) : TagDictionary
ReadDocument ( Stream stream ) : TagCompound
ReadDocument ( Stream stream, ReadTagOptions options ) : TagCompound
ReadDouble ( ) : double
ReadFloat ( ) : float
ReadInt ( ) : int
ReadIntArray ( ) : int[]
ReadLong ( ) : long
ReadShort ( ) : short
ReadString ( ) : string
ReadTag ( ) : ITag
ReadTag ( ReadTagOptions options ) : ITag
XmlTagReader ( ) : System
XmlTagReader ( XmlReader reader ) : System

Protected Methods

Method Description
ReadTag ( ReadTagOptions options, TagType defaultTagType ) : ITag
ReadTagValue ( ITag tag ) : object

Private Methods

Method Description
InitializeReader ( ) : void
ReadChildValues ( ICollection value, ReadTagOptions options, TagType listType ) : void
ReadTagType ( TagType defaultTagType ) : TagType
SkipWhitespace ( ) : void

Method Details

IsNbtDocument() public method

public IsNbtDocument ( Stream stream ) : bool
stream Stream
return bool

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadByteArray() public method

public ReadByteArray ( ) : byte[]
return byte[]

ReadCollection() public method

public ReadCollection ( TagList owner ) : TagCollection
owner TagList
return TagCollection

ReadDictionary() public method

public ReadDictionary ( TagCompound owner ) : TagDictionary
owner TagCompound
return TagDictionary

ReadDocument() public method

public ReadDocument ( Stream stream ) : TagCompound
stream Stream
return TagCompound

ReadDocument() public method

public ReadDocument ( Stream stream, ReadTagOptions options ) : TagCompound
stream Stream
options ReadTagOptions
return TagCompound

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadFloat() public method

public ReadFloat ( ) : float
return float

ReadInt() public method

public ReadInt ( ) : int
return int

ReadIntArray() public method

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

ReadLong() public method

public ReadLong ( ) : long
return long

ReadShort() public method

public ReadShort ( ) : short
return short

ReadString() public method

public ReadString ( ) : string
return string

ReadTag() public method

public ReadTag ( ) : ITag
return ITag

ReadTag() public method

public ReadTag ( ReadTagOptions options ) : ITag
options ReadTagOptions
return ITag

ReadTag() protected method

protected ReadTag ( ReadTagOptions options, TagType defaultTagType ) : ITag
options ReadTagOptions
defaultTagType TagType
return ITag

ReadTagValue() protected method

protected ReadTagValue ( ITag tag ) : object
tag ITag
return object

XmlTagReader() public method

public XmlTagReader ( ) : System
return System

XmlTagReader() public method

public XmlTagReader ( XmlReader reader ) : System
reader XmlReader
return System