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

TBytesStream

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

Stream of bytes.

Declaration

Source position: classesh.inc line 1531

type TBytesStream = class(TMemoryStream)

public

  constructor Create(); virtual; overload;

  

Create a new instance of the stream, initializing it with an array of bytes.

  property Bytes: TBytes; [r]

  

The stream data as an array of bytes.

end;

Inheritance

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

TBytesStream is a stream that uses an array of byte (TBytes) to keep the stream data. it overrides the TMemoryStream memory allocation routine to use the array of bytes. The array of bytes is exposed through the Bytes property.

See also

TBytes

TMemoryStream

  

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

Bytes


Documentation generated on: Dec 24 2024