Midware TMWBuffer.AppendMetaData

From Overbyte
Jump to navigation Jump to search

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


procedure AppendMetaData(Delim:Char;Src:PChar;Len:Longlnt);


AppendMetaData will add variable length, general purpose meta data at the end of current field. Meta data is delimited by an escape character followed by an uppercase letter at start and escape character followed by lower case character at the end. Not all letters can be used because some are intended for other purpose. See TMWBuffer description for more details.

Delim argument is uppercase character that has to be used for delimiter.

Src argument is pointer to meta data. Could be anything, including binary data. Len argument gives the number of bytes pointed by Src argument.