Code example for DataOutputStream

Methods: close, writeInt, writeLong