[Lazarus] reading a little endian long.

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sun Dec 21 12:16:55 CET 2008

On Sun, Dec 21, 2008 at 6:26 AM, Dave Coventry <dgcoventry at gmail.com> wrote:
> Is there any documentation on this?


> would the following:
> longv:=LEtoN(@buffer[5]);
> be the same as:

No, it's better. It only performs a conversion from Little Endian to
current encoding. So it will just copy the contents if your software
is running in a little endian processor or do the adequate conversion
if your software is running in a big endian processor.

Felipe Monteiro de Carvalho

More information about the Lazarus mailing list