MP4BinaryToBase16 - Convert binary data to a base 16 string
#include <mp4.h>
char* MP4BinaryToBase16(
const u_int8_t* pData,
u_int32_t dataSize
)
Upon success, a null terminated string representing the data in base 16. Upon error, NULL.
MP4BinaryToBase16 converts binary data to a base 16 string. This encoding maps groups of 4 bits into the character set [0-9a-f]. The string is in malloc'd memory, so the caller is responsible for free'ing the memory.
This utility is useful for generating the SDP descriptions for some RTP payloads.
MP4(3)