Skip to content

TStringStream.ReadAnsiString

Read an ansistring from the stream

Declaration

Source position: classesh.inc line 1263

public 
  function ReadAnsiString(Count: LongInt) : AnsiString;  Overload;

Description

ReadAnsiString will read an ansistring and correctly handle the codepage translation if necessary..

See also

Name Description
TStream.ReadString
TStringStream.ReadUnicodeString Read a unicode string from the stream
TStringStream.WriteAnsiString Write an ansistring to the stream
TStringStream.WriteUnicodeString Write a unicode string to the stream