pub unsafe extern "C" fn CS101_ASDU_addPayload(
self_: CS101_ASDU,
buffer: *mut u8,
size: c_int,
) -> boolExpand description
Append the provided data to the ASDU payload
NOTE: Usually it is not required to call this function as the payload is set when the ASDU is parsed or when a new information object is added with CS101_ASDU_addInformationObject The function is intended to be only used by library extensions of for creating private ASDU types.
§Arguments
buffer- pointer to the payload data to addsize- number of bytes to append to the payload
§Returns
true when data has been added, false otherwise