C# Class wyUpdate.Common.ReadFiles

Afficher le fichier Open project: RagingBigFemaleBird/sgs Class Usage Examples

Méthodes publiques

Méthode Description
IsHeaderValid ( Stream fs, string HeaderShouldBe ) : bool
ReachedEndByte ( Stream fs, byte endByte, byte readValue ) : bool
ReadBool ( Stream fs ) : bool
ReadByteArray ( Stream fs ) : byte[]
ReadDateTime ( Stream fs ) : System.DateTime
ReadDeprecatedString ( Stream fs ) : string
ReadInt ( Stream fs ) : int
ReadLong ( Stream fs ) : long
ReadShort ( Stream fs ) : short
ReadString ( Stream fs ) : string
ReadWholeArray ( Stream stream, byte data ) : void
SkipField ( Stream fs, byte flag ) : void

Method Details

IsHeaderValid() public static méthode

public static IsHeaderValid ( Stream fs, string HeaderShouldBe ) : bool
fs Stream
HeaderShouldBe string
Résultat bool

ReachedEndByte() public static méthode

public static ReachedEndByte ( Stream fs, byte endByte, byte readValue ) : bool
fs Stream
endByte byte
readValue byte
Résultat bool

ReadBool() public static méthode

public static ReadBool ( Stream fs ) : bool
fs Stream
Résultat bool

ReadByteArray() public static méthode

public static ReadByteArray ( Stream fs ) : byte[]
fs Stream
Résultat byte[]

ReadDateTime() public static méthode

public static ReadDateTime ( Stream fs ) : System.DateTime
fs Stream
Résultat System.DateTime

ReadDeprecatedString() public static méthode

public static ReadDeprecatedString ( Stream fs ) : string
fs Stream
Résultat string

ReadInt() public static méthode

public static ReadInt ( Stream fs ) : int
fs Stream
Résultat int

ReadLong() public static méthode

public static ReadLong ( Stream fs ) : long
fs Stream
Résultat long

ReadShort() public static méthode

public static ReadShort ( Stream fs ) : short
fs Stream
Résultat short

ReadString() public static méthode

public static ReadString ( Stream fs ) : string
fs Stream
Résultat string

ReadWholeArray() public static méthode

public static ReadWholeArray ( Stream stream, byte data ) : void
stream Stream
data byte
Résultat void

SkipField() public static méthode

public static SkipField ( Stream fs, byte flag ) : void
fs Stream
flag byte
Résultat void