MCPcopy Create free account
hub / github.com/Gagravarr/VorbisJava / writeInt4BE

Method writeInt4BE

core/src/main/java/org/gagravarr/ogg/IOUtils.java:291–295  ·  view source on GitHub ↗
(OutputStream out, long v)

Source from the content-addressed store, hash-verified

289 }
290
291 public static void writeInt4BE(OutputStream out, long v) throws IOException {
292 byte[] b4 = new byte[4];
293 putInt4BE(b4, 0, v);
294 out.write(b4);
295 }
296 public static void putInt4BE(byte[] data, int offset, long v) {
297 int i = offset;
298 data[i+3] = (byte)((v >>> 0) & 0xFF);

Callers

nothing calls this directly

Calls 2

putInt4BEMethod · 0.95
writeMethod · 0.65

Tested by

no test coverage detected