Difference between revisions of "Midware TMWBuffer.WriteDataBuffer"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TMWBuffer -> [[Midware_TMWBuffer.WriteDataBuffer | WriteDataB…')
 
(No difference)

Latest revision as of 19:58, 5 May 2011

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

Definition

procedure WriteDataBuffer(Src:PChar;Len:Longlnt);

Description

Append data from a buffer to the record buffer. Delimiter characters found in data are 'escaped'. Add ending field delimiter, two record delimiters (EOF) and a nul byte. Update DataBufferCount. If Len argument is positive or nul, then copy the specified length else if Len < 0 then copy until nul byte (nul terminated string).

WriteDataBuffer is a low level function not normally used in applications. Use AppendFields or WriteFields instead.