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

Method writeInt2

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

Source from the content-addressed store, hash-verified

198
199
200 public static void writeInt2(OutputStream out, int v) throws IOException {
201 byte[] b2 = new byte[2];
202 putInt2(b2, 0, v);
203 out.write(b2);
204 }
205 public static void putInt2(byte[] data, int offset, int v) {
206 int i = offset;
207 data[i++] = (byte)((v >>> 0) & 0xFF);

Callers

nothing calls this directly

Calls 2

putInt2Method · 0.95
writeMethod · 0.65

Tested by

no test coverage detected