Changeset 2776


Ignore:
Timestamp:
05/11/07 08:35:20 (13 years ago)
Author:
curtis
Message:

Small bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils/Binary.java

    r1181 r2776  
    3333  public static void decode(String bits, int len, int offset) { 
    3434    int bitlen = bits.length(); 
    35     for (int i=offset; i<bitlen-len; i+=len) { 
     35    for (int i=offset; i<=bitlen-len; i+=len) { 
    3636      String s = bits.substring(i, i + len); 
    3737      int q = Integer.parseInt(s, 2); 
Note: See TracChangeset for help on using the changeset viewer.