Jonas Jenwald
67415bfabe
Add an abstract base-class, which all the various Stream implementations inherit from
...
By having an abstract base-class, it becomes a lot clearer exactly which methods/getters are expected to exist on all Stream instances.
Furthermore, since a number of the methods are *identical* for all Stream implementations, this reduces unnecessary code duplication in the `Stream`, `DecodeStream`, and `ChunkedStream` classes.
For e.g. `gulp mozcentral`, the *built* `pdf.worker.js` files decreases from `1 619 329` to `1 616 115` bytes with this patch-series.
2021-04-28 13:44:45 +02:00
..
2021-04-12 14:13:49 +02:00
2021-03-13 16:12:53 +01:00
2021-04-27 19:02:20 +02:00
2020-10-03 20:15:29 +02:00
2021-04-28 10:16:51 +02:00
2021-04-28 10:16:51 +02:00
2021-04-28 13:44:45 +02:00
2020-10-03 20:15:29 +02:00
2021-04-23 09:42:32 +02:00
2021-04-28 10:16:51 +02:00
2021-04-27 13:29:09 +02:00
2021-03-26 18:23:18 +01:00
2021-01-09 20:37:51 +01:00
2021-04-28 13:44:45 +02:00
2021-04-25 17:40:00 +02:00
2021-02-10 12:28:49 +01:00
2021-04-15 17:57:42 +02:00
2021-04-28 10:16:51 +02:00
2021-04-28 13:44:45 +02:00
2021-04-28 10:16:51 +02:00
2021-04-01 16:47:30 +02:00
2021-04-28 10:16:51 +02:00
2021-01-09 20:37:51 +01:00
2021-04-28 10:16:51 +02:00
2021-04-13 21:00:30 +02:00
2021-04-28 10:16:51 +02:00
2021-03-12 11:57:27 +01:00
2021-04-20 20:48:44 +02:00
2021-04-24 13:00:19 +02:00
2021-02-27 12:46:57 +01:00
2021-01-28 10:19:26 +01:00
2021-04-28 10:16:51 +02:00
2021-04-28 10:16:51 +02:00
2020-10-03 20:15:29 +02:00
2021-04-28 10:16:51 +02:00
2021-01-09 20:19:39 +01:00
2021-04-28 10:16:51 +02:00
2020-12-21 20:35:52 +01:00
2021-04-28 10:16:51 +02:00
2021-02-17 13:12:01 +01:00
2021-02-27 12:44:45 +01:00
2020-10-26 16:27:33 +01:00
2021-04-22 13:15:50 +02:00
2021-04-28 13:44:45 +02:00
2021-03-14 11:49:31 +01:00
2021-04-28 10:16:51 +02:00
2021-03-14 11:43:05 +01:00
2021-04-15 17:57:42 +02:00
2021-04-28 10:16:51 +02:00
2021-04-28 13:44:45 +02:00
2020-10-03 20:15:29 +02:00
2021-04-28 10:16:51 +02:00
2021-01-09 20:37:51 +01:00
2021-04-28 13:44:45 +02:00
2021-04-13 21:00:30 +02:00
2021-03-12 12:16:50 +01:00
2021-02-27 13:20:09 +01:00
2021-04-24 13:00:19 +02:00
2021-04-25 17:40:00 +02:00
2021-04-22 12:08:56 +02:00
2021-02-17 13:12:01 +01:00
2021-04-13 21:00:30 +02:00