API:System.Classes.TStringStream

Delphi
TStringStream = class(TBytesStream)
C++
class PASCALIMPLEMENTATION TStringStream : public TBytesStream
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
Description
TBytesStream is a stream that stores its data in bytes. {{#multireplace:System.Classes.TStringStream|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TBytesStream|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TBytesStream|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
TBytesStream is a stream that stores its data in bytes.
Use TBytesStream to store data as bytes in a memory buffer.
Memory streams are useful as intermediary objects that can hold information as well as read it from or write it to another storage medium. They provide a useful format for comparing the contents of streams, or for manipulating data that is stored in a less accessible medium.