[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TAbstractObjectReader.ReadStr

Read a shortstring from the stream

## Declaration

`public function TAbstractObjectReader.ReadStr: String; virtual; abstract;`

## Description

ReadStr is called by the streaming system if it expects to read a shortstring from the stream (i.e. after ReadValue returned a valuetype of vaLString,vaWstring or vaString). The return value is the string.

## See also

TAbstractObjectReader.ReadFloat |  | Read a float value from the stream.
TAbstractObjectReader.ReadDate |  | Read a date value from the stream.
TAbstractObjectReader.ReadSingle |  | Read a single (real-type) value from the stream.
TAbstractObjectReader.ReadIdent |  | Read an identifier from the stream.
TAbstractObjectReader.ReadInt8 |  | Read an 8-bit integer from the stream.
TAbstractObjectReader.ReadInt16 |  | Read a 16-bit integer from the stream.
TAbstractObjectReader.ReadInt32 |  | Read a 32-bit integer from the stream.
TAbstractObjectReader.ReadInt64 |  | Read a 64-bit integer from the stream.
TabstractObjectReader.ReadSet |  | Reads a set from the stream.
TabstractObjectReader.ReadString |  | Read a string of type StringType from the stream.