UNPKG

slimfits

Version:

Package for loading data stored in FITS data format

21 lines 664 B
import * as tslib_1 from "tslib"; var Header = /** @class */ (function () { function Header(name, value) { this.name = name; this.value = value; } return Header; }()); export { Header }; var AcceptRangeHeader = /** @class */ (function (_super) { tslib_1.__extends(AcceptRangeHeader, _super); function AcceptRangeHeader(from, length) { var _this = _super.call(this, 'Range', 'bytes=' + from + '-' + (from + length - 1)) || this; _this.from = from; _this.length = length; return _this; } return AcceptRangeHeader; }(Header)); export { AcceptRangeHeader }; //# sourceMappingURL=Header.js.map