Table of Contents

TTMSFNCMemoryStream Class

Class helper that extends TCustomMemoryStream with web-specific file I/O operations for opening and saving stream data via the browser file API.

API unit family: TMSFNCTypes

Syntax

TTMSFNCMemoryStream = class

Properties

Name Description
Bytes The stream content as a raw byte array.

Methods

Name Description
OpenFile Opens a browser file-picker dialog restricted to the specified MIME type and loads the selected file into the stream.
SaveToFile Triggers a browser download for the stream content using the specified file name.