Issue 26701 - SvMemoryStream - no way to get real size ...
Summary: SvMemoryStream - no way to get real size ...
Status: ACCEPTED
Alias: None
Product: utilities
Classification: Unclassified
Component: code (show other issues)
Version: 680
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo Later
Assignee: AOO issues mailing list
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 00:48 UTC by mmeeks
Modified: 2013-07-30 02:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mmeeks 2004-03-19 00:48:35 UTC
SvMemoryStream::GetSize() returns something virtually useless ;-) [ at least to
me ]. I'd like to get the size in bytes I've written into the stream - ie. the
member nEndOfData. I assumed that 'GetSize()' would give this to me - rather
than some speculative, allocated size. This resulted in some rather odd effects,
pwrt. GetData usage.

Any chance of a 'real length' accessor ?
Comment 1 hennes.rohling 2004-05-24 22:53:48 UTC
Target set.
Comment 2 Rob Weir 2013-07-30 02:36:23 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.