Skip to content

TStream.WriteStr

Write a pascal string to the stream.

Declaration

Source position: objects.pp line 325

default 
  procedure WriteStr(P: PString);

Description

StrWrite writes the pascal string pointed to by P to the stream.

For an example, see TStream.ReadStr .

Errors

None.

See also

Name Description
TStream.ReadStr Read a shortstring from the stream.
TStream.StrRead Read a null-terminated string from the stream.
TStream.StrWrite Write a null-terminated string to the stream.