public void EnterList(OfcListType type, int capacity) { if (_compress != null) { return; //throw new NotSupportedException(); } _compress = _algorithm.Compress(null, _config, _output, (int)type, capacity); }
public IReporter <OfcNumber> Compress(IFile target, IConfiguaration configuaration, Stream output, int width, int height) { if (_routeMode) { return(new RounderReporter(_embeddedAlgorithm.Compress(target, configuaration, output, width, height), configuaration)); } return(new RounderReporter(_stream, configuaration)); }
public IReporter <string> Compress(IFile target, IConfiguaration configuaration, Stream output, int width, int height) { var nextReporter = _next.Compress(target, configuaration, output, width, height); return(new RoundingDigitsReporter(configuaration.Get <int>("roundingdecimals"), nextReporter)); }
public IReporter <string> Compress(IFile target, IConfiguaration configuaration, Stream output, int width, int height) { return(new ConvertingReporter <T>(_algorithm.Compress(target, configuaration, output, width, height), _converter)); }