Code example for DataOutputStream

Methods: writeFloat, writeShort