Skip to content

format

typescript
MemoryStream.ReadFile(path)

class: MemoryStream

description

Writes the contents of the file at the specified path to the current memory stream.

parameter

param_nametypedescription
pathstringThe path of the specified file.

reture

typedescription
void

code example