Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 478 Bytes

file.writeAllBytes.md

File metadata and controls

22 lines (15 loc) · 478 Bytes

file.writeAllBytes

The writeAllBytes function is used to write all binary bytes to a file.

Sample

var ary = file.readAllBytes("Roboto-Italic.ttf");
file.writeAllBytes("test.ttf", ary);

API

Calling Returning
file. writeAllBytes ( path, content ) byte[]
Parameters Type Description
path String The relative file path to the storage.
content byte[] The byte array to write.