lib/FileIOResult.js

'use strict';
import * as Utils from './Utils';
/**
 * Simple class for saving data from file reads.
 */
class FileIOResult {
    /**
     * Creates an instance of FileIOResult.
     */
    constructor() {
        this._data = '';
        // Lint gripes about empty constructors. Apperently this is good enough. Party on.
    }
    get data() { return this._data; }
    set data(data) {
        Utils.Assert(data !== '');
        this._data = data;
    }
}
Object.freeze(FileIOResult);
export { FileIOResult };
//# sourceMappingURL=FileIOResult.js.map