mirror of
https://github.com/corda/corda.git
synced 2025-06-13 12:48:18 +00:00
Add java lang math methods
This commit is contained in:
committed by
Alexey Pelykh
parent
85ce7696ca
commit
d6aff87ef9
@ -56,6 +56,12 @@ public class RandomAccessFile {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public int skipBytes(int count) throws IOException {
|
||||
if (position + count > length()) throw new IOException();
|
||||
this.position = position + count;
|
||||
return count;
|
||||
}
|
||||
|
||||
public void readFully(byte[] buffer, int offset, int length)
|
||||
throws IOException
|
||||
{
|
||||
|
Reference in New Issue
Block a user