User Tools

Site Tools


api:dk11:delphi:gisstreams.tgis_stream.readasciistring_string_integer

Table of Contents

TGIS_Stream.ReadAsciiString(String; Integer) method

DK11 for Delphi | GisStreams.TGIS_Stream.ReadAsciiString | Overloads | Constructors | Methods | Properties

Read string of the width from the stream. Procedure assumes that text is ASCII.

Available also on: .NET | Java.

Syntax

// Delphi
public
  function ReadAsciiString(
    var _buf : String;
    const _count : Integer
  ) : Integer; overload;
// C++ Builder
public:
  int ReadAsciiString(
    UnicodeString &_buf,
    const int _count
  ) /* overload */;

Parameters

Name Type Description
_buf String string to be read
_count Integer number of bytes to be read

Result

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

Page Tools