MCPcopy Create free account
hub / github.com/ReadyTalk/avian / writeShort

Method writeShort

classpath/java/io/DataOutputStream.java:48–51  ·  view source on GitHub ↗
(int s)

Source from the content-addressed store, hash-verified

46 }
47
48 public void writeShort(int s) throws IOException {
49 write((byte)(s >> 8));
50 write((byte)s);
51 }
52
53 public void writeInt(int i) throws IOException {
54 write((byte)(i >> 24));

Callers 1

writeUTFMethod · 0.95

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected