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

Method writeInt3BE

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

Source from the content-addressed store, hash-verified

277 }
278
279 public static void writeInt3BE(OutputStream out, long v) throws IOException {
280 byte[] b3 = new byte[3];
281 putInt3BE(b3, 0, v);
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);

Callers 1

writeMethod · 0.95

Calls 2

putInt3BEMethod · 0.95
writeMethod · 0.65

Tested by

no test coverage detected