C# Class ValveResourceFormat.StreamHelpers

Exibir arquivo Open project: SteamDatabase/ValveResourceFormat

Public Methods

Method 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 method

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

ReadOffsetString() public static method

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