Xbasic
FILE.FROM_BLOB Function
Syntax
Byte_Count as N = FILE.From_blob(C Filename,B data)
Arguments
- FilenameCharacter
The path and name of the file to create.
- dataBinary
The binary data to write.
Returns
- Byte_CountNumeric
Returns the size of the file.
Description
The FILE.FROM_BLOB() method creates a file from binary data.
Example
dim cc as C dim bb as B cc = FILE.to_string("C:\Garden\achillea.bmp") bb = char_to_blob(cc) FILE.from_blob("c:\temp\flower.bmp", bb)
See Also