C# Class Nexus.Client.Games.Steam.StreamHelpers

Exibir arquivo Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
ReadAndDiscard ( this stream, int len ) : void
ReadBytesCached ( this stream, int len ) : byte[]
ReadFloat ( this stream ) : float
ReadInt16 ( this stream ) : Int16
ReadInt32 ( this stream ) : Int32
ReadNullTermString ( this stream, Encoding encoding ) : string
ReadUInt16 ( this stream ) : UInt16
ReadUInt32 ( this stream ) : UInt32
ReadUInt64 ( this stream ) : System.UInt64

Method Details

ReadAndDiscard() public static method

public static ReadAndDiscard ( this stream, int len ) : void
stream this
len int
return void

ReadBytesCached() public static method

public static ReadBytesCached ( this stream, int len ) : byte[]
stream this
len int
return byte[]

ReadFloat() public static method

public static ReadFloat ( this stream ) : float
stream this
return float

ReadInt16() public static method

public static ReadInt16 ( this stream ) : Int16
stream this
return System.Int16

ReadInt32() public static method

public static ReadInt32 ( this stream ) : Int32
stream this
return System.Int32

ReadNullTermString() public static method

public static ReadNullTermString ( this stream, Encoding encoding ) : string
stream this
encoding System.Text.Encoding
return string

ReadUInt16() public static method

public static ReadUInt16 ( this stream ) : UInt16
stream this
return System.UInt16

ReadUInt32() public static method

public static ReadUInt32 ( this stream ) : UInt32
stream this
return System.UInt32

ReadUInt64() public static method

public static ReadUInt64 ( this stream ) : System.UInt64
stream this
return System.UInt64