Delphi - Código Delphi vs C#

 
Vista:

Código Delphi vs C#

Publicado por Luis P (1 intervención) el 30/03/2016 21:54:17
Hola
Primero es necesario indicar que mis conocimientos de delphi son escasos y necesito de su ayuda para interpretar las ultimas 5 lineas de código
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Buffer: array [0..600*1024] of char;
Buf2: array [0..600*1024] of char;
InData,OutData:Pointer;
hinpos,hendpos,
InPos,OutPos:Int64;
Mem_Reserved_in:=Int64(250)*1024*1024;
aofs:int64;
ptrBuf: pointer;
ServHNumberOfBytesRead: DWord;
 
 
FillChar(Buffer, SizeOf(Buffer), 0);
ptrBuf := @Buffer[8];
FillChar( InData^, Mem_Reserved_in, 0)
windows.ReadFile(hServH, InData^, Mem_Reserved_in, ServHNumberOfBytesRead, nil);
Move( Pchar( InData)[ aofs-hinpos], ptrBuf^, Hip);


Gracias por su ayuda.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder