Method writeShort(int v)
Return type: void
Member of: java.io.DataOutputStream
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 out.writeShort(8);
2 stream.writeShort(0x7FFF);
3 file.writeShort(0);
4 ostream.writeShort(1); // attr count
5 ostream.writeShort(3);
6 out.writeShort(1);
7 writeShort(type);
8 dout.writeShort( s );
9 dos.writeShort(v);
10 out.writeShort(val);
11 m_DataOut.writeShort(m_Reference);
12 out.writeShort(tag);
13 out.writeShort(value);
14 file.writeShort(getIndex());
15 dos.writeShort(elemID);
16 dos.writeShort((short) s.length());
17 rfd.writeShort(mw.indexOf(obj));
18 outputStream.writeShort(type);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.