Source: Media/AxMedia.js

 * Creates a new media object
 * This is a virtual prototype meant to be inherited by overrideing its methods
 * @constructor
function AxMedia()

 * Loads a media's content, decoding it from its native format into raw data
 * @param {AxStream} source A Stream holding a media's content in its native format. The stream must be positioned at the start of the content. For example, if it represents a file of the media's native type, it's position should normally be zero
 * @return {Boolean} True if succeeds, false otherwise
AxMedia.prototype.Load = function(source) { };

 * Saves the media, encoding it into the given format
 * @param {AxStream} destination Stream where the encoded data will be written, starting at the stream's current position
 * @param {String} format The format, in which the media must be encoded into. This is useful for medas, which support multiple formats. For example, to encode an image in png format, it should be "png", or to encode a sound in wav format, it should be "wav" and so on
 * @return {Bool} True if succeeds, false otherwise
AxMedia.prototype.Save = function(destination, format) { };

Documentation generated by JSDoc 3.5.3 on Wed Jul 26 2017 18:59:51 GMT+0300 (FLE Daylight Time)