Home » U++ Library support » U++ Core » PROPOSAL: small / usefull Stream iface extension
Re: PROPOSAL: small / usefull Stream iface extension [message #28008 is a reply to message #28004] |
Fri, 13 August 2010 10:29 |
|
mirek
Messages: 13984 Registered: November 2005
|
Ultimate Member |
|
|
kohait00 wrote on Fri, 13 August 2010 04:07 |
Quote: |
Sorry, but this is poorly defined...
|
thats why i'm asking people who know better
would Peek return the underlying buffer? at ptr position?
then i'm fine with it and can tweak around with Seek ofcorse. indeed, Peek is quite a usefull function, anyway. in fact i prefer it, it keeps the API understandable, not too implementation bound, but usage bound. good idea.
SkipRead / SkipWrite are only helpers, and are not that much nessesary actually, neither my second post. one could would workaround it sth like
|
Which is in the interface as SeekCur.
Quote: |
Peek would need to deferentiate wrlim and rdlim right?
why const btw?
const byte * Peek(int size);
|
Sure, only read variant.
|
|
|
|
|
PROPOSAL: small / usefull Stream iface extension
By: kohait00 on Wed, 11 August 2010 23:39
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: kohait00 on Thu, 12 August 2010 00:14
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: kohait00 on Thu, 12 August 2010 08:36
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: mirek on Fri, 13 August 2010 09:57
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: kohait00 on Fri, 13 August 2010 10:07
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: kohait00 on Fri, 13 August 2010 10:23
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: mirek on Fri, 13 August 2010 10:30
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: mirek on Fri, 13 August 2010 10:46
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: kohait00 on Fri, 13 August 2010 10:47
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: kohait00 on Fri, 13 August 2010 10:50
|
|
|
Re: PROPOSAL: small / usefull Stream iface extension
By: mirek on Fri, 13 August 2010 10:29
|
Goto Forum:
Current Time: Mon Jun 10 09:48:58 CEST 2024
Total time taken to generate the page: 0.02109 seconds
|