C# Class ME3Explorer.SubtitleScanner.FH

Show file Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Methods

Method Description
GetBytes ( string str ) : byte[]
GetInt ( FileStream fs ) : int
GetInt16 ( FileStream fs ) : ushort
GetString ( byte bytes ) : string
ReadString ( FileStream fs ) : string
WriteInt ( FileStream fs, int i ) : void
WriteString ( FileStream fs, string s ) : void
WriteUShort ( FileStream fs, ushort i ) : void

Method Details

GetBytes() public static method

public static GetBytes ( string str ) : byte[]
str string
return byte[]

GetInt() public static method

public static GetInt ( FileStream fs ) : int
fs System.IO.FileStream
return int

GetInt16() public static method

public static GetInt16 ( FileStream fs ) : ushort
fs System.IO.FileStream
return ushort

GetString() public static method

public static GetString ( byte bytes ) : string
bytes byte
return string

ReadString() public static method

public static ReadString ( FileStream fs ) : string
fs System.IO.FileStream
return string

WriteInt() public static method

public static WriteInt ( FileStream fs, int i ) : void
fs System.IO.FileStream
i int
return void

WriteString() public static method

public static WriteString ( FileStream fs, string s ) : void
fs System.IO.FileStream
s string
return void

WriteUShort() public static method

public static WriteUShort ( FileStream fs, ushort i ) : void
fs System.IO.FileStream
i ushort
return void