C# Class Shadowsocks.Controller.FileManager

Show file Open project: shadowsocks/shadowsocks-windows

Public Methods

Method Description
ByteArrayToFile ( string fileName, byte content ) : bool
NonExclusiveReadAllText ( string path ) : string
NonExclusiveReadAllText ( string path, Encoding encoding ) : string
UncompressFile ( string fileName, byte content ) : void

Method Details

ByteArrayToFile() public static method

public static ByteArrayToFile ( string fileName, byte content ) : bool
fileName string
content byte
return bool

NonExclusiveReadAllText() public static method

public static NonExclusiveReadAllText ( string path ) : string
path string
return string

NonExclusiveReadAllText() public static method

public static NonExclusiveReadAllText ( string path, Encoding encoding ) : string
path string
encoding System.Text.Encoding
return string

UncompressFile() public static method

public static UncompressFile ( string fileName, byte content ) : void
fileName string
content byte
return void