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

Method putInt3BE

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

Source from the content-addressed store, hash-verified

282 out.write(b3);
283 }
284 public static void putInt3BE(byte[] data, int offset, long v) {
285 int i = offset;
286 data[i+2] = (byte)((v >>> 0) & 0xFF);
287 data[i+1] = (byte)((v >>> 8) & 0xFF);
288 data[i+0] = (byte)((v >>> 16) & 0xFF);
289 }
290
291 public static void writeInt4BE(OutputStream out, long v) throws IOException {
292 byte[] b4 = new byte[4];

Callers 4

getDataMethod · 0.95
writeInt3BEMethod · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected