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

Method write

classpath/java/io/RandomAccessFile.java:136–139  ·  view source on GitHub ↗
(int b)

Source from the content-addressed store, hash-verified

134 int offset, int length);
135
136 public void write(int b) throws IOException {
137 int count = writeBytes(peer, position, new byte[] { (byte)b }, 0, 1);
138 if (count > 0) position += count;
139 }
140
141 private static native int writeBytes(long peer, long position, byte[] buffer,
142 int offset, int length);

Callers

nothing calls this directly

Calls 6

writeBytesMethod · 0.95
hasArrayMethod · 0.45
getClassMethod · 0.45
arrayMethod · 0.45
positionMethod · 0.45
remainingMethod · 0.45

Tested by

no test coverage detected