If you wish to write Annodex media to a file or file descriptor (such as a network socket), it can be directly written as follows:.