1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Implement NullStream, fix #1832

This commit is contained in:
Saebekassebil 2012-10-22 17:53:15 +02:00
parent ece9cd15d2
commit 58d6974bf5
2 changed files with 12 additions and 0 deletions

View file

@ -2350,3 +2350,12 @@ var LZWStream = (function LZWStreamClosure() {
return LZWStream;
})();
var NullStream = (function NullStreamClosure() {
function NullStream() {
Stream.call(this, new Uint8Array(0));
}
NullStream.prototype = Stream.prototype;
return NullStream;
})();