mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Fixed RandomAccessFile to update position after reads.
This commit is contained in:
parent
39bee886e3
commit
3b1c769d2b
@ -56,6 +56,8 @@ public class RandomAccessFile {
|
||||
throw new ArrayIndexOutOfBoundsException();
|
||||
|
||||
copy(peer, position, buffer, offset, length);
|
||||
|
||||
position += length;
|
||||
}
|
||||
|
||||
private static native void copy(long peer, long position, byte[] buffer,
|
||||
|
Loading…
Reference in New Issue
Block a user