Einzelnen Beitrag anzeigen

Muetze1
(Gast)

n/a Beiträge
 
#3

Re: TStringStream to BlobStream

  Alt 9. Jan 2007, 19:24
The 2nd parameter of CopyFrom() (the size) can be zero, if you want to copy the whole passed stream. In this case, the source stream will also be seeked to position 0 before copy. Otherwise (if you pass any size value > 0), you have to ensure that the read position is as expected on zero position before calling CopyFrom()
  Mit Zitat antworten Zitat