MCPcopy Create free account
hub / github.com/ReadyTalk/avian / seek

Method seek

classpath/java/io/RandomAccessFile.java:66–70  ·  view source on GitHub ↗
(long position)

Source from the content-addressed store, hash-verified

64 }
65
66 public void seek(long position) throws IOException {
67 if (position < 0 || (!allowWrite && position > length())) throw new IOException();
68
69 this.position = position;
70 }
71
72 public int skipBytes(int count) throws IOException {
73 if (position + count > length()) throw new IOException();

Callers 1

positionMethod · 0.95

Calls 1

lengthMethod · 0.95

Tested by

no test coverage detected