C# Class X.FileEx

Show file Open project: dpull/UnityUtils Class Usage Examples

Public Methods

Method Description
GetFileLength ( string filepath ) : long
OpenRead ( string sourceFileName ) : Stream
SetFileLength ( string filepath, long length ) : bool

Method Details

GetFileLength() public static method

public static GetFileLength ( string filepath ) : long
filepath string
return long

OpenRead() public static method

public static OpenRead ( string sourceFileName ) : Stream
sourceFileName string
return Stream

SetFileLength() public static method

public static SetFileLength ( string filepath, long length ) : bool
filepath string
length long
return bool