MCPcopy Index your code
hub / github.com/boazy/TWEditorEnhanced / read

Method read

src/main/java/KeyInputStream.java:76–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 }
75
76 public int read()
77 throws IOException
78 {
79 if (this.in == null)
80 throw new IOException("Input stream is not open");
81 int result;
82 if (this.residualLength == 0) {
83 result = -1;
84 } else {
85 this.in.seek(this.dataOffset);
86 result = this.in.readByte() & 0xFF;
87 this.dataOffset += 1L;
88 this.residualLength -= 1;
89 }
90
91 return result;
92 }
93
94 public int read(byte[] buffer)
95 throws IOException

Callers 14

loadMethod · 0.45
runMethod · 0.45
KeyInputStreamMethod · 0.45
runMethod · 0.45
loadMethod · 0.45
saveMethod · 0.45
runMethod · 0.45
runMethod · 0.45
readHeaderMethod · 0.45
getStringMethod · 0.45
runMethod · 0.45
readFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected