Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Varios (https://www.clubdelphi.com/foros/forumdisplay.php?f=11)
-   -   Indy9 parametros de readstream (https://www.clubdelphi.com/foros/showthread.php?t=64756)

JXJ 17-04-2009 04:57:35

Indy9 parametros de readstream
 
hola


me encuentro confundico con el uso de readStream

usando

Código Delphi [-]
var


  Corriente  : TFileStream;
begin

  IdTCPClient1.ReadStream(Corriente, -1, true)
end.


el segundo y tercer parametro que significan y como se emplean

por que hay otros que ponen

Código Delphi [-]
var

  Corriente  : TFileStream;
  ByteStep  : integer;
begin
        ByteStep :=    IdTCPClient1.ReadInteger;
  IdTCPClient1.ReadStream(Corriente, ByteStep  , false)
end


me parece que es el tamaño del stream que se recibe en bloques
y se esta leyendo.

gracias



La franja horaria es GMT +2. Ahora son las 03:29:12.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi