vscphlp_writeVscpDataWithSizeToString

int vscphlp_writeVscpDataWithSizeToString( const unsigned char *pdata,
                                              const unsigned short. 
                                              char *pstr, 
                                              size_t len,
                                              int bUseHtmlBreak,
                                              int bBreak )

Parameters

pData

Pointer to VSCP data array.

size

Number of bytes in data array.

pstr

Pointer to string buffer that will receive string.

len

Size of string receive buffer.

bUseHtmlBreak

Set to true (non zero) to use “\” instead of “\n” as linebreak in string. bBreak

Set to true (non zero) to add the break character.

Return Value

VSCP_ERROR_SUCCESS is returned on success.

Description

Write VSCP data in readable form to a possibly multi line string from a data array with size.

Example

mmmm

xxx

mmm

xxx

See Also

xxx


Very Simple Control Protocol
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).

results matching ""

    No results matching ""