Added octetstring_copy_value() function to ease copying octetstring value into a buffer.

This commit is contained in:
skarg
2013-02-20 23:51:47 +00:00
parent f45aad0087
commit 209f9e82a2
2 changed files with 26 additions and 0 deletions
+4
View File
@@ -165,6 +165,10 @@ extern "C" {
bool octetstring_copy(
BACNET_OCTET_STRING * dest,
BACNET_OCTET_STRING * src);
size_t octetstring_copy_value(
uint8_t * dest,
size_t length,
BACNET_OCTET_STRING * src);
/* returns false if the string exceeds capacity */
bool octetstring_append(
BACNET_OCTET_STRING * octet_string,