MCPcopy Create free account
hub / github.com/BaseXdb/basex / write8

Method write8

basex-core/src/main/java/org/basex/io/out/DataOutput.java:220–229  ·  view source on GitHub ↗

Writes a long value. @param v value to be written @throws IOException I/O exception

(final long v)

Source from the content-addressed store, hash-verified

218 * @throws IOException I/O exception
219 */
220 private void write8(final long v) throws IOException {
221 write((byte) (v >>> 56));
222 write((byte) (v >>> 48));
223 write((byte) (v >>> 40));
224 write((byte) (v >>> 32));
225 write((byte) (v >>> 24));
226 write((byte) (v >>> 16));
227 write((byte) (v >>> 8));
228 write((byte) v);
229 }
230
231 /**
232 * Writes a byte array.

Callers 2

writeLongMethod · 0.95
writeLongsMethod · 0.95

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected