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

Method putInt4

core/src/main/java/org/gagravarr/ogg/IOUtils.java:228–234  ·  view source on GitHub ↗
(byte[] data, int offset, long v)

Source from the content-addressed store, hash-verified

226 out.write(b4);
227 }
228 public static void putInt4(byte[] data, int offset, long v) {
229 int i = offset;
230 data[i++] = (byte)((v >>> 0) & 0xFF);
231 data[i++] = (byte)((v >>> 8) & 0xFF);
232 data[i++] = (byte)((v >>> 16) & 0xFF);
233 data[i++] = (byte)((v >>> 24) & 0xFF);
234 }
235
236 public static void writeInt5(OutputStream out, long v) throws IOException {
237 byte[] b5 = new byte[5];

Callers 7

writeMethod · 0.95
writeMethod · 0.95
writeHeaderMethod · 0.95
getHeaderMethod · 0.95
writeInt4Method · 0.95
writeMethod · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected