Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MP4(3)			    MP4	File Format Library			MP4(3)

NAME
       MP4BinaryToBase64 - Convert binary data to a base 64 string

SYNTAX
       #include	<mp4.h>

       char* MP4BinaryToBase64(
	    const u_int8_t* pData,
	    u_int32_t dataSize
       )

ARGUMENTS
       pData  Specifies	the pointer to the binary data.

       dataSize
	      Specifies	the size in bytes of the binary	data.

RETURN VALUES
       Upon  success,  a  null terminated string representing the data in base
       64. Upon	error, NULL.

DESCRIPTION
       MP4BinaryToBase64 converts binary data to a base	64 string. This	encod-
       ing  maps  groups  of 6 bits into the character set [A-Za-z0-9+/=]. 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.

       Example:	     0x12, 0xAB	-> "Eqs="

SEE ALSO
       MP4(3)

Cisco Systems Inc.		  Version 0.9				MP4(3)

NAME | SYNTAX | ARGUMENTS | RETURN VALUES | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MP4BinaryToBase64&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help