Code example for DataOutputStream

Methods: writeIntwriteLongclose