Midware TMWBuffer.DataBufferCount

From Overbyte
Jump to navigation Jump to search

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


property DataBufferCount: Longlnt;


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.