*/
void ff_amf_write_string(uint8_t **dst, const char *str);
+/**
+ * Write a string consisting of two parts in AMF format to a buffer.
+ *
+ * @param dst pointer to the input buffer (will be modified)
+ * @param str1 first string to write, may be null
+ * @param str2 second string to write, may be null
+ */
+void ff_amf_write_string2(uint8_t **dst, const char *str1, const char *str2);
+
/**
* Write AMF NULL value to buffer.
*
/**
* Read AMF string value.
*
- * Appends a trailing \0 to output string in order to
+ * Appends a trailing null byte to output string in order to
* ease later parsing.
*
*@param[in,out] gbc GetByteContext initialized with AMF-formatted data