Skip to content

TBytesStream

Stream of bytes.

Declaration

Source position: classesh.inc line 1652

type

  TBytesStream = class(TMemoryStream)
  public
    constructor Create; overload;
    property Bytes: TBytes; {r}
  end;

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.

Properties

Member Visibility Description
Bytes read only public The stream data as an array of bytes.
See all Properties

Methods

Member Visibility Description
Create public Create a new instance of the stream, initializing it with an array of bytes.
See all Methods

See also

Name Description
TBytes
TMemoryStream Standard implementation of a stream that stores its data in memory.
Bytes