Code example for DataOutputStream

Methods: close, writeBytes