C# Class ValveResourceFormat.StreamHelpers

Afficher le fichier Open project: SteamDatabase/ValveResourceFormat

Méthodes publiques

Méthode Description
ReadNullTermString ( this stream, Encoding encoding ) : string

Reads a null terminated string.

ReadOffsetString ( this stream, Encoding encoding ) : string

Reads a string at a given uint offset.

Method Details

ReadNullTermString() public static méthode

Reads a null terminated string.
public static ReadNullTermString ( this stream, Encoding encoding ) : string
stream this Stream.
encoding System.Text.Encoding Encoding.
Résultat string

ReadOffsetString() public static méthode

Reads a string at a given uint offset.
public static ReadOffsetString ( this stream, Encoding encoding ) : string
stream this Stream.
encoding System.Text.Encoding Encoding.
Résultat string