[Lazarus] Loading an integer into a byte array
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Thu Jan 8 23:01:23 CET 2009
Dave Coventry schrieb:
>> What is "loading"? Reading from the file?
> No, the integer value is calculated and must be saved to the file.
> There is more than one integer in a 48 byte block and I want to write
> this block to the file, so I'm loading a 48 byte buffer. Some of the
> values are single bytes or text.
You can define an according record, and fill in the values there. When
the byte order has to be changed, use the according system routines.
DoDi
More information about the Lazarus
mailing list