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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to