User Tools

Site Tools


api:dk11:delphi:gisstreams.tgis_stream.writestringcnt_string_integer

Table of Contents

TGIS_Stream.WriteStringCnt method

DK11 for Delphi | GisStreams.TGIS_Stream.WriteStringCnt | Constructors | Methods | Properties

Write a string to the stream. If written string is smaller then _count bytes then rest of the string will be filled with spaces. Upon writing string will be converted to representation defined by CodePage property.

Available also on: .NET | Java.

Syntax

// Delphi
public
  function WriteStringCnt(
    const _buf : String;
    const _count : Integer
  ) : Integer;
// C++ Builder
public:
  int WriteStringCnt(
    const UnicodeString _buf,
    const int _count
  );

Parameters

Name Type Description
_buf String string to be written
_count Integer number of bytes which string should occupy in the stream

Result

Type Description
Integer Number of written bytes.
2020/05/07 01:10

Page Tools