Home » U++ Library support » U++ Core » Adding GetCount/NumBytes to Buffer?
Adding GetCount/NumBytes to Buffer? [message #61670] |
Sun, 04 May 2025 14:49  |
luoganda
Messages: 214 Registered: November 2016
|
Experienced Member |
|
|
Since Buffer always has an info of NumItems allocated
and that NumItems(allocated) info is always needed by the app,
could be somthing like this added to Buffer?
Buffer buff;
...allocating it..
buff.GetCount() //<=sinceIt'sATemplate
and maybe
buff.NumBytes() //<=sinceIt'sNeededSometimes
|
|
|
Goto Forum:
Current Time: Fri Jun 06 07:59:28 CEST 2025
Total time taken to generate the page: 0.05124 seconds
|