Code example for DataOutputStream

Methods: close, write, writeInt, writeLong