Code example for DataOutputStream

Methods: writeInt, writeShort