I have a file into which I want to put a long integer:

00 00 19 7A

The file expects the value in the form:

buffer[0]:=122;
buffer[1]:=25;
buffer[2]:=0;
buffer[3]:=0;

I am then intending to write this buffer to the file

FS.Writebuffer(buffer,4);

Is there a way of loading the buffer directly before writing?
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to