write File From Bytes By Stream
open fun writeFileFromBytesByStream(filePath: String, bytes: Array<Byte>): Boolean
Content copied to clipboard
Write file from bytes by stream.
Return
{@code true}
: success{@code false}
: fail
Parameters
filePath
The path of file.
bytes
The bytes.
Write file from bytes by stream.
Return
{@code true}
: success{@code false}
: fail
Parameters
filePath
The path of file.
bytes
The bytes.
append
True to append, false otherwise.
open fun writeFileFromBytesByStream(file: File, bytes: Array<Byte>): Boolean
Content copied to clipboard
Write file from bytes by stream.
Return
{@code true}
: success{@code false}
: fail
Parameters
file
The file.
bytes
The bytes.