Skip to content

TElectronBinaryDataStream

Below is a list of the properties and methods for TElectronBinaryDataStream. This class allows reading and writing files using binary data.

Properties for TElectronBinaryDataStream

Property Description
Base64: string Set or retrieve the stored data as a Base64 encoded string.
Text: string Set or retrieve the stored data as a string.

Methods for TElectronBinaryDataStream

Property Description
LoadFromFile(const FileName: string) Method to read data from a file from the local file system.
SaveToFile(const: FileName: string) Method to save data to a file on the local file system.
AsArrayBuffer: TJSArrayBuffer Set or retrieve the stored data as a TJSArrayBuffer.