comparison src/org/tmatesoft/hg/internal/ByteArrayDataAccess.java @ 420:6c22bdc0bdfd

Respect long offsets in revlogs
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 22 Mar 2012 22:56:01 +0100
parents b413b16d10a5
children 55b7987c1796
comparison
equal deleted inserted replaced
419:7f136a3fa671 420:6c22bdc0bdfd
67 public int length() { 67 public int length() {
68 return length; 68 return length;
69 } 69 }
70 @Override 70 @Override
71 public void seek(int offset) { 71 public void seek(int offset) {
72 pos = (int) offset; 72 pos = offset;
73 } 73 }
74 @Override 74 @Override
75 public void skip(int bytes) throws IOException { 75 public void skip(int bytes) throws IOException {
76 seek(pos + bytes); 76 seek(pos + bytes);
77 } 77 }