Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TRawByteStringStream

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

TBytesStream descendent with some single-byte string methods.

Declaration

Source position: classesh.inc line 1576

type TRawByteStringStream = class(TBytesStream)

public

  constructor Create(); overload;

  

Create a new instance of TRawByteStringStream.

  function DataString;

  

Return the stream contents as a single-byte string.

  function ReadString();

  

Read a string from the stream.

  procedure WriteString();

  

Write a string to the stream.

end;

Inheritance

TRawByteStringStream

  

TBytesStream descendent with some single-byte string methods.

|

TBytesStream

  

Stream of bytes.

|

TMemoryStream

  

Standard implementation of a stream that stores its data in memory.

|

TCustomMemoryStream

  

Abstract stream that stores its data in memory.

|

TStream

  

Base class for streams.

|

TObject

  

Base class of all classes.

Description

TRawByteStringStream is a TBytesStream descendent which introduces some auxiliary methods that help with inserting or extracting single-byte strings from the data: DataStringReadString and WriteString.

In difference with TStringStream, the data has no codepage information associated with it, so the data is always considered to use the default codepage.

See also

TStringStream

  

Stream that stores its data in a string.

DataString

  

Return the stream contents as a single-byte string.

ReadString

  

Read a string from the stream.

WriteString

  

Write a string to the stream.


Documentation generated on: Oct 27 2024