[Overview][Classes][Procedures and functions][Index] Reference for unit 'LazUTF8Classes' (#lazutils)

TMemoryStreamUTF8

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a memory stream which supports file names with UTF-8 encoding

Declaration

Source position: lazutf8classes.pas line 43

type TMemoryStreamUTF8 = class(TMemoryStream)

public

  procedure LoadFromFile();

  

Loads the content in the stream from the specified file

  procedure SaveToFile();

  

Stores the content in the stream to the specified file

end;

Inheritance

TMemoryStreamUTF8

  

Implements a memory stream which supports file names with UTF-8 encoding

|

TMemoryStream

|

TCustomMemoryStream

|

TStream

|

TObject

Description

TMemoryStreamUTF8 is a TMemoryStream descendant that stores its data in memory. TMemoryStreamUTF8 extends the ancestor to include methods used to load and save its memory content using files names that may contain UTF-8-encoded characters.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.