Changeset 3910


Ignore:
Timestamp:
04/10/08 12:05:27 (12 years ago)
Author:
melissa
Message:

Eliminated EOFExceptions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/codec/PackbitsCodec.java

    r3900 r3910  
    7575    ByteVector output = new ByteVector(1024); 
    7676    try { 
    77       while (output.size() < expected) { 
     77      while (output.size() < expected && in.getFilePointer() < in.length()) { 
    7878        byte n = in.readByte(); 
    7979        if (n >= 0) { // 0 <= n <= 127 
Note: See TracChangeset for help on using the changeset viewer.