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

Method writeInt4

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

Source from the content-addressed store, hash-verified

221 }
222
223 public static void writeInt4(OutputStream out, long v) throws IOException {
224 byte[] b4 = new byte[4];
225 putInt4(b4, 0, v);
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);

Callers 2

writeUTF8WithLengthMethod · 0.95
writeMethod · 0.95

Calls 2

putInt4Method · 0.95
writeMethod · 0.65

Tested by

no test coverage detected