Difference between revisions of "Midware TMWBuffer.DataBufferCount"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TMWBuffer -> [[Midware_TMWBuffer.DataBufferCount | DataBuffer…')
 
 
Line 3: Line 3:
 
== Definition ==
 
== Definition ==
  
  '''property''' DataBufferCount: '''Longlnt''';
+
  '''property''' DataBufferCount: Longlnt;
  
 
== Description ==
 
== Description ==

Latest revision as of 14:52, 14 May 2011

Main page -> Midware component reference -> TMWBuffer -> DataBufferCount

Definition

property DataBufferCount: Longlnt;

Description

The size in bytes of the data present in the buffer. Do not confuse DataBufferCount with DataBufferSize which is the total buffer size while DataBufferCount is the number of bytes really used in the buffer.

If you copy data directly to the buffer, bypassing the component, then you must update DataBufferCount to reflect how much data is into the buffer.