C# Class JP.Utils.Data.FileReadHelper

Exibir arquivo Open project: JuniperPhoton/JP.Utils.UWP

Public Methods

Method Description
ReadFileToByteArrayAsync ( this file ) : Task
ReadFileToIRandomStreamAsync ( this file ) : Task
ReadStreamToByteArray ( this oriStream ) : byte[]

Method Details

ReadFileToByteArrayAsync() public static method

public static ReadFileToByteArrayAsync ( this file ) : Task
file this
return Task

ReadFileToIRandomStreamAsync() public static method

public static ReadFileToIRandomStreamAsync ( this file ) : Task
file this
return Task

ReadStreamToByteArray() public static method

public static ReadStreamToByteArray ( this oriStream ) : byte[]
oriStream this
return byte[]