Code example for DataOutputStream

Methods: writeDouble, writeInt