Class TBrookString
Unit
Declaration
type TBrookString = class(TBrookHandledPersistent)
Description
String buffer class and its related methods.
Hierarchy
- TObject
- TPersistent
- TBrookHandledPersistent
- TBrookString
Overview
Methods
![]() |
constructor Create(AHandle: Pointer); virtual; |
![]() |
destructor Destroy; override; |
![]() |
function WriteBytes(const ASource: TBytes; ALength: NativeUInt): NativeUInt; virtual; |
![]() |
procedure Write(const ASource: string; AEncoding: TEncoding); overload; virtual; |
![]() |
procedure Write(const ASource: string); overload; virtual; |
![]() |
function ToString: string; override; |
![]() |
procedure Clear; virtual; |
Properties
![]() |
property OwnsHandle: Boolean read FOwnsHandle write FOwnsHandle; |
![]() |
property Content: TBytes read GetContent; |
![]() |
property Length: NativeUInt read GetLength; |
![]() |
property Text: string read GetText write SetText; |
Description
Methods
![]() |
constructor Create(AHandle: Pointer); virtual; |
Creates an instance of Parameters
|
![]() |
destructor Destroy; override; |
Frees an instance of |
![]() |
function WriteBytes(const ASource: TBytes; ALength: NativeUInt): NativeUInt; virtual; |
Write a string buffer to the string handle. All strings previously written are kept. Parameters
ReturnsLength of the written string buffer. |
![]() |
procedure Write(const ASource: string; AEncoding: TEncoding); overload; virtual; |
Writes a string to the string handle. All strings previously written are kept. Parameters
|
![]() |
procedure Write(const ASource: string); overload; virtual; |
Writes a string to the string handle. All strings previously written are kept. Parameters
|
![]() |
function ToString: string; override; |
Gets the string from the string handle. |
![]() |
procedure Clear; virtual; |
Properties
![]() |
property OwnsHandle: Boolean read FOwnsHandle write FOwnsHandle; |
Determines if the handle is freed on the class destruction. |
![]() |
property Content: TBytes read GetContent; |
Gets the |
![]() |
property Length: NativeUInt read GetLength; |
![]() |
property Text: string read GetText write SetText; |
Gets or sets a string from or to the string handle. |
Generated by PasDoc 0.16.0.