Code example for DataOutputStream

Methods: close, flush, writeBytes