Midware TMWBuffer.WriteDataBuffer

From Overbyte
Jump to navigation Jump to search

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.