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

Method putInt2

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

Source from the content-addressed store, hash-verified

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);
208 data[i++] = (byte)((v >>> 8) & 0xFF);
209 }
210
211 public static void writeInt3(OutputStream out, long v) throws IOException {
212 byte[] b3 = new byte[3];

Callers 3

writeMethod · 0.95
writeInt2Method · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected