C# Class Wxv.Swg.Common.ByteArrayExtensions

Afficher le fichier Open project: wverkley/Swg.Explorer

Méthodes publiques

Méthode Description
IsText ( this data ) : System.Boolean
ReadBytes ( this data, int count, int startIndex ) : byte[]
ReadInt16 ( this data, int startIndex ) : Int16
ReadInt32 ( this data, int startIndex ) : Int32
ReadInt32BE ( this data, int startIndex ) : int
ReadSingle ( this data, int startIndex ) : System.Single
ReadSingleBE ( this data, int startIndex ) : System.Single
ReadString ( this data, int startIndex, Encoding encoding = null, bool trim = true ) : string
ReadStringList ( this data, int startIndex, Encoding encoding = null, bool trim = true ) : string[]

Private Methods

Méthode Description
ReadStringInternal ( this data, int &startIndex, Encoding encoding, bool trim ) : string

Method Details

IsText() public static méthode

public static IsText ( this data ) : System.Boolean
data this
Résultat System.Boolean

ReadBytes() public static méthode

public static ReadBytes ( this data, int count, int startIndex ) : byte[]
data this
count int
startIndex int
Résultat byte[]

ReadInt16() public static méthode

public static ReadInt16 ( this data, int startIndex ) : Int16
data this
startIndex int
Résultat System.Int16

ReadInt32() public static méthode

public static ReadInt32 ( this data, int startIndex ) : Int32
data this
startIndex int
Résultat System.Int32

ReadInt32BE() public static méthode

public static ReadInt32BE ( this data, int startIndex ) : int
data this
startIndex int
Résultat int

ReadSingle() public static méthode

public static ReadSingle ( this data, int startIndex ) : System.Single
data this
startIndex int
Résultat System.Single

ReadSingleBE() public static méthode

public static ReadSingleBE ( this data, int startIndex ) : System.Single
data this
startIndex int
Résultat System.Single

ReadString() public static méthode

public static ReadString ( this data, int startIndex, Encoding encoding = null, bool trim = true ) : string
data this
startIndex int
encoding System.Text.Encoding
trim bool
Résultat string

ReadStringList() public static méthode

public static ReadStringList ( this data, int startIndex, Encoding encoding = null, bool trim = true ) : string[]
data this
startIndex int
encoding System.Text.Encoding
trim bool
Résultat string[]