mirror of https://github.com/ColorlibHQ/gentelella
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
805 B
29 lines
805 B
'use strict';
|
|
function CompressedObject() {
|
|
this.compressedSize = 0;
|
|
this.uncompressedSize = 0;
|
|
this.crc32 = 0;
|
|
this.compressionMethod = null;
|
|
this.compressedContent = null;
|
|
}
|
|
|
|
CompressedObject.prototype = {
|
|
/**
|
|
* Return the decompressed content in an unspecified format.
|
|
* The format will depend on the decompressor.
|
|
* @return {Object} the decompressed content.
|
|
*/
|
|
getContent: function() {
|
|
return null; // see implementation
|
|
},
|
|
/**
|
|
* Return the compressed content in an unspecified format.
|
|
* The format will depend on the compressed conten source.
|
|
* @return {Object} the compressed content.
|
|
*/
|
|
getCompressedContent: function() {
|
|
return null; // see implementation
|
|
}
|
|
};
|
|
module.exports = CompressedObject;
|