[fpc-pascal] Writing floating points to steams

Marco van de Voort marcov at stack.nl
Wed Jan 13 22:12:22 CET 2016

In our previous episode, Torsten Bonde Christiansen said:
> I'm not even sure how (or even if) TStream decendants handles endianness 
> for integers.... I'm guessing they are not.

TStream is basically an abstraction for stream of bytes. The read<type>
methods are just convenience, not some protocol.

As far as endianess go, see the streamex unit's class helper for TStream,
and its use (here and there) in package chm.

More information about the fpc-pascal mailing list