C# Class Crow.Library.FileOperations.FSFileOperations

Inheritance: IFileOperations
Show file Open project: msusur/Crowfx

Public Methods

Method Description
LoadFileAsByteArray ( string filePath, bool encrypted ) : byte[]
LoadFileAsPlainText ( string filePath, bool encrypted ) : string
SaveFile ( string filePath, byte content, bool encrypted ) : void
SaveFile ( string filePath, string content, bool encrypted ) : void

Method Details

LoadFileAsByteArray() public method

public LoadFileAsByteArray ( string filePath, bool encrypted ) : byte[]
filePath string
encrypted bool
return byte[]

LoadFileAsPlainText() public method

public LoadFileAsPlainText ( string filePath, bool encrypted ) : string
filePath string
encrypted bool
return string

SaveFile() public method

public SaveFile ( string filePath, byte content, bool encrypted ) : void
filePath string
content byte
encrypted bool
return void

SaveFile() public method

public SaveFile ( string filePath, string content, bool encrypted ) : void
filePath string
content string
encrypted bool
return void