Forum > FPSpreadsheet

fpsStreams unit problems

<< < (2/2)

AlexTP:
(Linux x64, FPC 3.2.3)

wp:
OK, now I understand. Never had thought of such a requirement to set the Size of the TBufStream...

Please test the new version at ccr.

However, having to consider both buffer state and existing file size, I think it will be very complicated to set the Size to an arbitrary value. Therefore, I decided to allow only a new size of zero; any other value raises an exception. For simplification, there is also a TBufStream.Clear method. (Why does the abstract class TStream declare Size to be public?)

Navigation

[0] Message Index

[*] Previous page

Go to full version