]> git.parisson.com Git - pdf.js.git/commitdiff
remove getByte for now
authorAndreas Gal <andreas.gal@gmail.com>
Tue, 10 May 2011 06:08:29 +0000 (23:08 -0700)
committerAndreas Gal <andreas.gal@gmail.com>
Tue, 10 May 2011 06:08:29 +0000 (23:08 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 3fc03746fb3c02655b4edef3caaf06b1c2bb3d79..8092e79742f82ee452d0c485f883ea09475e7eda 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -26,12 +26,6 @@ var Stream = (function() {
         reset: function() {
             this.pos = this.start;
         },
-        getByte: function() {
-            var bytes = this.bytes;
-            if (this.pos >= bytes.length)
-                return;
-            return bytes[this.pos++];
-        },
         lookChar: function() {
             var bytes = this.bytes;
             if (this.pos >= bytes.length)